RE: Positioning problem

by "Jami" <jami(at)jamisniche.com>

 Date:  Wed, 7 May 2003 01:57:34 -0500
 To:  "'cbirds'" <cbirds(at)earthlink.net>,
"HWG Techniques" <hwg-techniques(at)hwg.org>
 In-Reply-To:  hwg
  todo: View Thread, Original
You have to use text-align in CSS, not align. If you are ever unsure
about your CSS or you are getting strange results, try validating your
CSS first. You have the following errors in your CSS:

Error: Property font-face not recognized.
Correct syntax is instead.

Error: Property align not recognized.
Correct syntax is text-align.

One validator is located at http://www.htmlhelp.com/tools/csscheck/. You
will find several more listed on Google.

HTH.

----------
Jami Moore
jami(at)jamisniche.com
http://designsby.jamisniche.com/


-----Original Message-----

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!

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.