Now I am trying to utilize stylesheets on a large corporate intranet and
I am having difficulty centering images and elements on pages. The lack
of support for the "auto" value in existing browsers is driving me crazy.
If all staff had 13 inch monitors set on 640 x 480 I could work around
this with fixed margin values; but of course that is not the case.
I have users with 640, 800 1024 and 1280 screen widths - I need my center
tag. What do I do ?? I'm sure there has to be a straight forward
solution. Please clue me in, my ignorance is taking up lots of time.
Thanks.
>Pre stylesheets- the <center> and <align=center> tags may have had their
>problems and abuses but they both "worked".
>Now I am trying to utilize stylesheets on a large corporate intranet and
>I am having difficulty centering images and elements on pages.
I think the style rule you're looking for is text-align : center.
I had simply align : center in my stylesheet, but ran it through CSS-Check
this morning (http://www.htmlhelp.com/tools/), and discovered an error with
simply "align" and when I changed it to text-align, the CSS "validated."
-Mike
Mike Vitale | Delta Sigma Pi District Director | http://www.dspnet.org/
Personal: http://www.cs.utexas.edu/users/rodney/ | rod...@cs.utexas.edu
Work : http://www.arlut.utexas.edu/~fsatswww/ | vit...@arlut.utexas.edu
To love another person is to see the face of God. - Les Mis
<NOSPAM>My Email address is really "rodney" not "rod.ney"</NOSPAM>
I still use <div align=center> or <center>. It's there, it's easier, go
for it!
Rick
--
The Duck Fart
http://www.geocities.com/NapaValley/2382/
...dedicated to the finer and funner things in life