sparrowhawk
02-20-2006, 06:46 PM
I am trying to get my homepage to validate using the W3C validator. I have only 4 attributes that I can't seem to replace with external styles.
the attributes modify the body element:
leftmargin
topmargin
marginheight
marginwidth
so like:
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
I found a solution using absolute positioning:
body {
position: absolute;
top: 0;
left 0;
}
The problem is that I want to keep my page design centered:
http://www.ajmoss.com/
if you care to see what I mean.
Thanks in advance.
Here's the validation issue - this may explain better than I have:
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.ajmoss.com%2F&charset=%28detect+automatically%29&doctype=Inline&ss=1&outline=1&sp=1&noatt=1&No200=1&verbose=1
(I hope it's ok to link to the W3C validation tool)
the attributes modify the body element:
leftmargin
topmargin
marginheight
marginwidth
so like:
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
I found a solution using absolute positioning:
body {
position: absolute;
top: 0;
left 0;
}
The problem is that I want to keep my page design centered:
http://www.ajmoss.com/
if you care to see what I mean.
Thanks in advance.
Here's the validation issue - this may explain better than I have:
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.ajmoss.com%2F&charset=%28detect+automatically%29&doctype=Inline&ss=1&outline=1&sp=1&noatt=1&No200=1&verbose=1
(I hope it's ok to link to the W3C validation tool)