Hello, I have a website: www.CHETOS.es if I remove this from the top (I got it from a "template", so I didn't added it, and I don't really know why is it for ) <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Code (markup): All the text is now VERY BIG!! And it's displayed bad. You can see it here -> www.CHETOS.es/test.php It's the same website, I just removed this <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Code (markup): Also, if you look at the google cache of my website , texts are also very big. What can I do? Thanks
Dont remove it DTD are important, they are used to inform a browser on how to render a page, add it back. Without the DTD, most browsers (mostly IE) wont know what to do with the coding, and go into 'quirk' mode. For more info on doc types, see this post I made last week http://csschat.com/showthread.php?t=20 Hope it helps Ash
The question is why would you want to remove it. And it is to help the browser out to know what type of coding ur useing e.g. xhtml 1 transitional if you go to http://www.w3.org/TR/xhtml1/ you can read more about it.
I would like to remove that, because I am having problems with the "big font sizes" in , Google Cache, my stats, and when I add , for example, some comments script to my website. I think the problem is that DTD, but I don't know how to fix it.
nop i dont think that would be it it would be the css if u asked me over msn i could of helped you hehe.