That's very good that you had define the problem and solution  also. It is always that when you make any changes in code then the effect is shown of the main page or the first modification you had did, still is was a nice information. Good job.

2

(26 replies, posted in Programming)

That were nice links to learn CSS/XHTML , but I used prefer w3school to learn these languages. Still is was very useful recommendation by you. Op yes there is a HTML code to protect your code or block the visitors to view your code. You can place this code any where in to your HTML code:

<body bgcolor="#FFFFFF" ondragstart="return false" onselectstart="return false">

ondragstart and onselectstart will not allow the user to even view your code then there is no question to copy it. I hope this will help you.