IE7 float left and stacking problem

Quick question about floating elements left with IE7. Basically I have some HTML like this

<div><a href></a></div>
<div><a href></a></div>
<div><a href></a></div>
<div><a href></a></div>

The divs need to line up next to each other inline horizontally.

Right now the divs are floated left and the anchor tags inside them have background images, width, height and display:block.

As of now it works in all browsers except IE6 + 7. In those two browsers everything is stacked on each other like a pile vertically. Is there a quick way to fix for IE? I only have access to the CSS file. I cannot edit the HTML.

7
задан mskfisher 11 June 2012 в 16:33
поделиться