Forum Moderators: open

Message Too Old, No Replies

overlapping DIV in IE7

div are ok in IE6 and Firefox

         

mespejo

1:28 am on Aug 3, 2006 (gmt 0)

10+ Year Member



Hi,

Can anyone please help me out on my dilemma? I have two divs with padding: 5px to separate the box. They look ok on IE6 and Firefox but in IE7 the two div overlap, I mean the top div was under the bottom div. I don't know why. Does anyone know about this bug?

bgirl

2:09 am on Aug 3, 2006 (gmt 0)

10+ Year Member



Using this basic code, I don't see anything amiss in IE7.

.test {padding: 5px; background-color:#0066FF;}
.test2 {padding: 5px; background-color:#FF9933;}

<div class="test">Here's some text</div>
<div class="test2">Here's more text</div>

Can you post the CSS code? Maybe you have something else going on.