Previous Message
Next Message

Centering a Site

Sent by Steve Clason on 25 September 2005 19:07


On 9/25/2005 12:05 PM Donna Pfledderer@Virtual Business Connection wrote:
> I have been trying to get this site to center, but no
> matter what I do it won't work. <snip>
> 
> http://www.vbc-nc.com/Samples/ArtEscape/NewSite/index_dlp.html
> 
> http://www.vbc-nc.com/Samples/ArtEscape/NewSite/css/style_page.css

Hi Donna,

First you need to clear your floats--they aren't contained within <body> 
now and that's going to make them hard to center. Put a border around 
<body> and you'll see what I mean.

Look at http://positioniseverything.net/easyclearing.html for advice on 
cleaing the floats, then have a look at the css-d wiki, as David suggested:
<http://css-discuss.incutio.com/?page=CenteringBlockElement>


-- 
Steve Clason
Web Design and Development
Boulder, Colorado, USA
www.topdogstrategy.com
(303)818-8590

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