My main area is called - "content" I have a 1px border going around it.
Inside content I have 2 columsn - "content_left" and "content_right" They both have a 1px border on them as well. With a margin: 4px 2px 4px 4px;
For some reason IE7 is not putting the 4px bottom margin between - "content" border and "content_right, content_left border. Instead the borders from the inside div's are appearing on top of the outside border. It displays correctly in firefox and IE6 (imagine that) but not IE7.
I need content_left and content_right bottom borders to line up so I added height: 525px; because I can't figure a way for them to line up any other way. Ideally they would line up without me having to specify height.. so they could change with content...
Any help would be appreciated.
Inside content I have 2 columsn - "content_left" and "content_right" They both have a 1px border on them as well. With a margin: 4px 2px 4px 4px;
For some reason IE7 is not putting the 4px bottom margin between - "content" border and "content_right, content_left border. Instead the borders from the inside div's are appearing on top of the outside border. It displays correctly in firefox and IE6 (imagine that) but not IE7.
Code:
#content {
width: 632px;
height: auto;
border-top: #C1C1C1 1px solid;
border-left: #C1C1C1 1px solid;
border-right: #000000 1px solid;
border-bottom: #000000 1px solid;
margin: 5px 0px 10px 0px;
overflow: hidden;
}
#content_left {
width: 442px;
float: left;
display: inline;
border-top: #000000 1px solid;
border-left: #000000 1px solid;
border-right: #C1C1C1 1px solid;
border-bottom: #C1C1C1 1px solid;
margin: 4px 2px 4px 4px;
height: 525px;
}
#content_right {
width: 174px;
float: left;
display: inline;
border-top: #000000 1px solid;
border-left: #000000 1px solid;
border-right: #C1C1C1 1px solid;
border-bottom: #C1C1C1 1px solid;
margin: 4px 4px 4px 2px;
height: 525px;
}
I need content_left and content_right bottom borders to line up so I added height: 525px; because I can't figure a way for them to line up any other way. Ideally they would line up without me having to specify height.. so they could change with content...
Any help would be appreciated.