| | |
basic 3 column css layout
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Nov 2008
Posts: 20
Reputation:
Solved Threads: 0
for some reason my "right" appears lower than the "content" (center) but not the "left"
my div structure
div box open >> div left open >> div left close >> div content open >> div content close >> div right open >> div right close >> div box close
css Syntax (Toggle Plain Text)
#box { width:900px; margin-left: auto; margin-right: auto; } #content { overflow: auto; width:600px; padding:0px; background-color:#fff; float:center; } #left { width:150px; padding:0px; float:left; } #right { width:150px; padding:0px; float: right; }
my div structure
div box open >> div left open >> div left close >> div content open >> div content close >> div right open >> div right close >> div box close
Last edited by peter_budo; Mar 21st, 2009 at 3:04 pm. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
•
•
Join Date: May 2008
Posts: 7
Reputation:
Solved Threads: 2
Try floating #content left, that should do the trick:
css Syntax (Toggle Plain Text)
#content { float: left; }
![]() |
Similar Threads
- 3 column layout with multiple divs (HTML and CSS)
- My page won't load on Macs (HTML and CSS)
- 2 Column Layout, width: Left Fixed, Right/Content Fluid question (HTML and CSS)
- PHP / CSS incompatibility? (PHP)
- Trying to use not tables, only CSS, but can I? (HTML and CSS)
- IE issue with floats (HTML and CSS)
Other Threads in the HTML and CSS Forum
- Previous Thread: Table placement
- Next Thread: Layout gone weird on <ul> and floats
| Thread Tools | Search this Thread |
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash form format google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization perl pnginie6 positioning problem scroll seo shopping studio swf swf. textcolor timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7 xml xsl






