Previous Message
Next Message

help centering this page without tables

Sent by KevinN on 7 June 2004 18:06


You could help us out help you by posting the URL to the page in 
question or even post the offending div(s) code snippet and a sample css 
that you're using.

;)

Anyway, try this out:

<div id="centering-div"> sample content </div>

and the css:

#centering-div {
margin: 0 auto;
padding: 0;
}

Kathleen Ballard wrote:
> I really need some help centering this page.  I have
> tried centering the body and encapsulating all the
> divs on the page in an outer div.  The problem I had
> with that method is everything bounced all over then
> place with the menu items dropped down.  Also, I need
> to place the other items precisely on the background
> image.
> 
> I am just the lowly coder, not a designer.  I could do
> all this fairly easily with tables, but the client
> really wants css only.  
> 
> Please help!
> Kathleen
> ______________________________________________________________________
> 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/
> 
> 


-- 
KevinN
[EMAIL-REMOVED]
http://www.pixelpush.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: