system
August 10, 2004, 4:27pm
7
ahmed:
Use this DOCTYPE
< !DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd ”>
And IE 5.5+ and FireFox/Netscape should interpert your HTML/CSS similarly enough for you to be able to create an identical-looking site on all modern browsers!
Cross-browser compatibility used to be a huge pain, but with a little bit of research and getting the proper DOCTYPE I was able to create many cross-browser compatible tableless layouts
Since IE 5 and NS 4.7 do not interpret CSS like it should be, I just dont bother checking my sites on them, they’re really outdated anyway
AHMED is correct but keep in mind that with this DOCTYPE comes some coding rules. So look up XHTML and DOCTYPES. the main thing is lower case attributes and closing tags. But there are others.