cinematic_jesi
10-06-2008, 03:04 PM
Hey I have a div that stripped of content... looks like this:
<div style="display: inline-block; text-align: center; width: 128px; padding: 3px; border: 1px solid #999999; vertical-align: middle; margin: 6px;"></div>
Then through php this div is dynamically repeated. Now it looks beautiful in FireFox, but in IE7 (atleast, I haven't gone home yet to check IE6) it just displays the div's vertically, like a list. If I do the float: left; well that messes everything up, because not everything is the same size that goes in the div and they don't stack properly.
Ideas?
<div style="display: inline-block; text-align: center; width: 128px; padding: 3px; border: 1px solid #999999; vertical-align: middle; margin: 6px;"></div>
Then through php this div is dynamically repeated. Now it looks beautiful in FireFox, but in IE7 (atleast, I haven't gone home yet to check IE6) it just displays the div's vertically, like a list. If I do the float: left; well that messes everything up, because not everything is the same size that goes in the div and they don't stack properly.
Ideas?