Previous Message
Next Message

New to CSS... Having some issues

Sent by Zoe M. Gillenwater on 21 January 2005 20:08


Tom Livingston wrote:

>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.*
>  
>

....and min-width: 750px to the body so Gecko plays along.

The wiki is a great place to start your search for questions like this:
http://css-discuss.incutio.com/?page=CenteringBlockElement

Zoe

-- 
Zoe M. Gillenwater
Design Specialist
Highway Safety Research Center
http://www.hsrc.unc.edu

______________________________________________________________________
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/
Previous Message
Next Message

Message thread: