Forum Moderators: open
P.S. Just downloaded Moz to this system here and checked out my test page with the same code you have posted above. No line breaks.
<div>
<span class="leftbg">
Link<br />
Link<br />
</span>
<span class="rightbg">
Link<br />
Link<br />
</span>
</div>
I have 2 sets of divs like this. With a total of 4 divs (1 header 1 footer). The header displays fine, the first set of divs are displaying fine now in IE (Cant check any other browser) but the second one is displaying one on top of the other with the footer beside the lower one. So its like this:
....header.............
leftbg..........rightbg
.................leftbg
footer..........rightbg
does that explain whats wrong any better?
.leftbg {
font-variant: small-caps;
text-align:center;
background-color: black;
color: white;
padding: 4px;
width: 50%;
height : 100%;
margin-right : 2px;<-- look the problem
margin-left : 2px;<--- and again
border : solid black thin;
}.rightbg {
font-variant: small-caps;
text-align:center;
background-color: black;
color: white;
padding: 4px;
width: 50%;
height : 100%;
margin-right : 2px;
margin-left : 2px;
border : solid black thin;
}
Please excuse me for my sillyness I should have thought of that sooner! The 50% with the margins on there was making it to big so it was the size of the screen that was causing it cause it was trying to make it over 100%.