PDA

View Full Version : Doc Type Help


RichieBoy67
Tue 24th May '05, 9:50pm
I need to know what to use for a doc type. when I use default for the style I am working with the site is viewed fine in IE but not in mozilla. When I delete the doc type it looks fine in mozilla and crappy in IE...

I figured one of these would work

XHTML 1.0 Transitional:
<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


XHTML 1.0 Frameset:
<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">



any help would be appreciated... thanks


-
My Sites! www.talkandmore.net (http://www.talkandmore.net) www.totaltechforums.com (http://www.totaltechforums.com)

diades
Wed 25th May '05, 5:58am
Use the former for non-framed pages and the latter for the page that contains the frames.

Better still, use xhtml1.1 and do away with both of the former:D