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 IE CSS bugs. Add display: inline; in floated division element will fix IE double margin bug. Add height: 100%; to make sure main division extended to 100% and wrapped both container and sidebar divisions.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
  1. /* *** IE (all versions) *** */
  2.  
  3. /* Gets rid of IE's blue borders */
  4. a img {
  5. border:none
  6. }
  7.  
  8. * html div#content {
  9. display: inline;
  10. }
  11.  
  12. * html div#main {
  13. height: 100%;
  14. }

References

No Comments

No comments yet.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">