Well I get no overlap, but I’m running ie7 and I guess you’re running ie6? It’s a matter of adjusting the width
of l_sidebar
, r_sidebar
, content
and container
. Probably best to stick to widening container
for now… you could also reduce the padding-left
(or the value at d in padding: a b c d
) of r_sidebar
and then reducing that elements width
by the same amount.
That is, in ie7 it looks like you could reduce the left padding a bit…
A really good trick is to add a border to the div
s that you are fiddling with, like this border: 1px solid red;
(but use different colours so u can differentiate), such that you can see the horizontal space that they take up. Best add borders to all four of those div
s that I mentioned above, and then remove them again once resolved. Site looks a bit silly in the meantime, but hey, overflow is pretty ugly anyways ??
Keep increasing/decreasing div
width until the borders are flush, to the point where if you add an extra pixel to the width, you get overflow or broken flow.
These borders take up a pixel of your width per side, so once you remove the borders, you can then increase each div
‘s width by 2px.
omg I am tired, I gotta go bed.
Good luck,
– John