Previous Message
Next Message

help centering the page

Sent by Steve Clay on 7 June 2004 18:06


Monday, June 7, 2004, 1:01:43 PM, Kathleen Ballard wrote:
KB> http://celsite.klballard.com/mission_css.html

Nest the entire document inside a DIV, center the DIV like you would any
block-level element [1].  Now, you'll need to move your background from
BODY to this new DIV, and if you've used absolute positioning relative to
body, you'll need to give the DIV position:relative;

[1] http://css-discuss.incutio.com/?page=CenteringBlockElement
    scroll down to: "Centering with auto-margins"

Steve
-- 
http://mrclay.org/ * http://frenchhorns.mrclay.org/

______________________________________________________________________
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: