i have two divs one floated to the left and t开发者_运维百科he other to the right and after them i have added a div with style clear:both
after that i have an other div with a margin-top : 35px the margin is shown as expected in IE7 FF Chrome and opera but can't see it on IE8 any ideas ?
I can't tell from what you've posted but if the div giving you problems is empty, this could be an issue. If that is the case, try adding
into it.
I had this problem the other day. I'm not sure why it is occurring and I am far from an expert on the topic but to solve it I added padding bottom to the floated divs and it gave the same effect I was looking for.
精彩评论