Sent by Tom Livingston on 21 January 2005 19:07
On Fri, 21 Jan 2005 13:36:00 -0500, Armstrong, Christian wrote:
> If you look at: http://fox.axcera.com there is an unordered list on the
> right that should be centered in the dark grey <div> area. I also would like
> the text inside to be centered in the gradiated light grey area. The CSS for
> that file is found at http://fox.axcera.com/css/master.css
>
Without looking at your CSS (sorry, no time), I would guess adding
margin/padding to the UL till you get it where you want. Or to the
container?
> The next issue is on a separate site. I can not figure out for the life of
> me, how to set up the <div> tags to stay centered in the browser. (a handful
> of sites are out there that do this simplebits for example) There has to be
> a tutorial on how to set layouts up like that. Anyone know of one?
> http://christianarmstrong.com/index_test.html
On/add a containing div (or "wrapper") to the whole page use (and
adjust as needed):
wrapper{position:relative; margin:0 auto; width:750px; padding:0;
text-align:left;}
and whatever other styling you need. *Also add text-align:center; to
the body style so IE plays along.*
HTH
---------
Tom Livingston
Senior Multimedia Artist
Media Logic
mlinc.com
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/