Skip to main content

Ivan Teoh

Something personal yet public

WordPress Theme Development 15 - IE Stylesheet

Old Internet Explorer, version 6 and earlier, intend to be different from the rest, Mozilla Firefox, Opera, Safari and Chrome. This style sheet is to fix old Internet Explorer Cascading Style Sheets bugs. Add display: inline; in floated division element will fix Internet Explorer double margin bug. Add height: 100%; to make sure main division extended to 100% and wrapped both container and sidebar divisions.

81-style.css (Source)

/* *** IE (all versions) *** */

/* Gets rid of IE's blue borders */
a img {

* html div#content {
    display: inline;

* html div#main {
    height: 100%;


Comments powered by Disqus