OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
CSS Box Model Layout
This page's ID:
11083
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
[quote] as you can see I'm having a bit of a problem getting the bottoms of the two centre columns to line up [/quote] In this: [code] .left { position: relative; float: left; width: 15%; height: 400px; background:#fff; border: solid black 2px; margin-top: 5px; margin-left: 5px; margin-bottom: 5px; padding-bottom:15px; } [/code] Yout have padding-bottom:15px. Either take it out or put the same thing for the right side. You have the left sided padded which is making it off a little. Also, for the margin stuff, you can put this all on one line like: margin: 5px; since they all have the same value. If you have different values for the top bottom left etc.. they go in the order of top, left, bottom, right. with no commas between them. margin: 5px 10px 5px 10px; The only time that you really need to seperate them is when you have to use auto for the value. Opera freaks out if you have margin: 10px auto 10px auto. Later, C:\ [url=http://faq.ozoneasylum.com/922/]~Binary is best~[/url]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »