|
A few weeks ago, I could not figure out why my website was not looking correctly when viewed in Internet explorer. Thanks to the help of people here, I figured out that I needed put the following at the top of the html...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
That fixed the problem, but I am now having another. For some reason the DOCTYPE above disappears from various pages for no reason. I save it and it disappears. Sometimes, I will add a little content and it disappears. Other times I just check my website and it will be gone. I paste it back in and it is fine for a little while, but it does it again eventually.
Does anyone know why this could be happening? Thanks in advance and I will check back tomorrow...Tim.
|