WeLoveCSS Logo
Home Profile Members Search Rules Help New Posts

WeLoveCSS > WEB DESIGN > CSS > Centering a content div? (Fixing a CS5 template)

  Thread Tools Display Modes
Old 7th January 11, 08:59 PM   #1
WLC Member
Join Date: Jan 2011
Posts: 1
Default Centering a content div? (Fixing a CS5 template)

Hello more experienced CSS users,

I recently helped an NGO rebuild their website, and to some extent I relied on the built-in templates in Dreamweaver CS5. The new site replicates the NGO's original design of a logo bar at the top and a navigation bar on the left-hand side, with all of the content appearing in a div below and to the right of those elements. However, at some point--I think in the process of removing the unwanted footer and the buffer spaces at the left and right edges of the dreamweaver template--I accidentally broke the centered quality of the content div. Now the content appears adjacent to the navigation bar, aligned more to the left than in the center of the screen. It's most noticeable on higher-resolution screens.

The site appears here: http://www.cholsamaj.org (pretty much any link inside the site will demonstrate the problem)
And the original template is here: http://www.cholsamaj.org/testingcentering.php

Has anyone run into this problem before?
docus is offline   Reply With Quote
Old 8th January 11, 11:11 AM   #2
Join Date: Jun 2006
Location: Blackp ool U.K.
Posts: 3,194
Default Re: Centering a content div? (Fixing a CS5 template)

Getting rid of the 1998 layout method of tables would be your best option.
chrishirst is offline   Reply With Quote

Thread Tools
Display Modes
Linear Mode Linear Mode

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 05:32 AM.

Home | Advertise | Contact Us | Top
Home | Advertise | Contact Us | Top

Copyrightę 2006 WeLoveCSS.com. All Rights Reserved.
Powered by vBulletin Version 3.8.4 Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.