Home › Forums › CSS › IE Inline-block fix/hack › Re: IE Inline-block fix/hack
October 28, 2012 at 1:17 am
#112801
antwon
Participant
You could add a conditional stylesheet to your head that will add styles for users browsing on ie 7 and below (since ie8 + support inline-block and < ie8 only has partial support).
Add this to your head:
Then create iestyles.css and add something like this to it:
#main, #sidebar-left {
display: block;
float: left;
}
#wrapper {
margin: 0 auto;
width: 1200px;
}
#wrapper:after {
clear: both;
content: “”;
display: block;
}