[thelist] html attributes for margin width etc

Andrew Maynes andrew at humanbehaviour.co.uk
Thu Oct 17 07:02:00 CDT 2002


worked like a dream :)

Andrew

-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org]On Behalf Of Mark Howells
Sent: Thursday, October 17, 2002 12:47
To: thelist at lists.evolt.org
Subject: Re: [thelist] html attributes for margin width etc


> 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.)

Regards
Mark Howells
<http://www.mark.ac/>
AIM: mhoaim

--
For unsubscribe and other options, including
the Tip Harvester and archive of thelist go to:
http://lists.evolt.org Workers of the Web, evolt !

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.401 / Virus Database: 226 - Release Date: 10/9/02

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.401 / Virus Database: 226 - Release Date: 10/9/02




More information about the thelist mailing list