Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS IE Inline-block fix/hack Re: IE Inline-block fix/hack

#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;
}