[thelist] html attributes for margin width etc

Mark Howells webdev at mountain.ch
Thu Oct 17 06:47:01 CDT 2002

> I have just tried to validate a html doc and received these errors any
> idea what
> I can do to get alignment without using these tags?  html version 4.01

We found a way round this a while back -- try this CSS.

body	{margin:-10px 0 0 -10px}
html body {margin:0}

(It's all about confusing Netscape 4. You might need to adjust the
negative margin to get it exactly at 0,0 in that browser, which doesn't
understand the html body {} syntax.)

Mark Howells
AIM: mhoaim

More information about the thelist mailing list