Re: Positioning problem

by "Donna Smillie" <dms(at)zetnet.co.uk>

 Date:  Wed, 7 May 2003 08:54:35 +0100
 To:  "cbirds" <cbirds(at)earthlink.net>,
"HWG" <hwg-techniques(at)mail.hwg.org>
 References:  hwg
  todo: View Thread, Original
From: "cbirds" <cbirds(at)earthlink.net>
Sent: Wednesday, May 07, 2003 6:31 AM


> In Netscape, if you have this in your CSS:
>
> h1 {font-face: verdana,arial,helvetica; font-size: 16px; color: #000033;
> align: center;}
> h2 {font-face: verdana,arial,helvetica; font-size: 14px; color: #990000;
> align: center;}
>
> ...your headers will be nicely centered over the left justified main text
> no matter where they are.
> HOWEVER, in IE (for Mac) it ignores the centering command in the CSS!

> What's the solution? Why won't IE follow the align: center; tag in the
> CSS?

Hmmm... maybe because, as far as I know, it should be "text-align", not
"align".
Interesting example of IE being more standards compliant than NN.

Regards,
Donna

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.