[thelist] Site critique/check of CSS positioning in IE 5 (PC)

Andy Warwick andy.war at ntlworld.com
Tue May 29 07:16:50 CDT 2001


on 2001/05/29 12:01 pm, Flavia Silveira-Tarzwell (FayeC) at fayec at canada.com
wrote:

> Looks good on both IE 5 and NS 4.7.
> The only thing I noticed is that you didn't include the marginwidth="0"
> marginheight="0" in the body tag.....NS has the default space at the top
> and left side of the page because of that...
> 

Thanks for looking.

I assume the looks good in IE 5 and NS 4.7 is on a Mac, as I've written to
both those. The PC version of IE 5 is playing up on my PC, but it's hard to
say if that is my machine or all versions of IE on Windows. (My machine is -
shall we say - in need of a spring clean...)

I haven't included the marginwidth... etc, tags as they aren't valid in
XHTML, which is what the page is being written to. For those browsers that
understand CSS there is a "body { background: white; color: #666666; margin:
0; padding: 0; border: 0; }" definition to replace it; for those browsers
that don't I'm gonna just live with the extra space rather than write to a
lesser spec. Thanks for the heads up anyway.

Regards

Andy Warwick





More information about the thelist mailing list