You can encrypt your javascript and php respectively... You can encrypt your whole html page but it won't show anything up for users not using it... Also, it's possible for anyone to decrypt with enough time and patience. You can use php & htaccess combo to prevent direct file access of css and similar files but, if people save page as they can still get to your css. You can also use what I call "tight coding" meaning you strip all the white space, encrypt javascript files, compress css files and use names like c.jpg instead of car.jpg. You can also code in multiple languages so that most people will have no idea what the he11 is going on. Making it a real b1tch to clone. Also, hard coding urls makes it even more of a pain to clone. Also, replacing things that use javascript with php (such as outputting the date) means a user wishing to clone has to make the script himself to recreate it adding yet another challenge. Also strip all comments from code making it increasingly difficult to understand. Further stll you could limit the number of file simultaneously open / user and the amount of bandwidth allowed per IP making it really annoying for anyone trying to clone your site... Especially if you use anti-proxy code.
Recently I saw one lyrics website that encoded their lyrics using character codes so that's all you would see when viewing source. And they pulled a few other tricks to make it impossible to copy lyrics without extreme difficulty.