Previous Message
Next Message

RE: [css-d] Cant get a <div> to center!

Sent by Bryn Dyment on 21 June 2003 11:11


> This is the site I am working on, below is an example of the page
> I am having issues with:
>
> http://www.alvegaard.com/faces/faces_01.shtml
> 
> CSS is at
> 
> http://www.alvegaard.com/styles_scripts/main.css
> 
> 
> The problem I am having is with the little mini nav <div> I want
> it to center under neath the images. The style for the <td> is
> supposed to center all the content. But the <div> tag wont center
> up! It looks fine in IE, but Moz/NS put it on the left.

To center your DIV, add "align-left: auto; align-right: auto" to
"div.galnav".  Those, in addition to the fact that you've specified a
width, should center the DIV.  Let me know if it doesn't work...

___
Bryn Dyment, [EMAIL-REMOVED]
http://www.bigtrouble.com/bryn

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: