The Kat's Work - Blog
Main | Blog | Registration | Login
Sunday
2017-09-24
3:20 AM
Welcome Guest | RSS
Main » 2010 » November » 24 » Converting for IE8 standards mode some tips.
10:49 PM
Converting for IE8 standards mode some tips.
First of how come IE 8 in standards mode behaves unlike all the other standards compliant browsers?

 In fact why does it behave like ie7 but doesn't recognise ie7 hacks?

So first things first i noticed peculiar behaviour in IE8. Floated  divs/spans with onclick events only honour the onclick on the text contents. There is no fix for this. I had to re-style the elements so that they no longer float to get the desired behaviour.

So CSS hacks here is the IE 8 hack 

width:100\0/px

simply add the \0/ to the a copy of your style. This must be your last element.

e.g
width:100px; Real standards browsers
*width:110px; IE7
width:110\0/px; IE8

or you can add the meta tag below to your page to force IE8 to render as IE7

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />




Views: 440 | Added by: The_Kat | Rating: 0.0/0
Total comments: 0
Name *:
Email *:
Code *:
Login form
Adverts
Search
Calendar
«  November 2010  »
SuMoTuWeThFrSa
 123456
78910111213
14151617181920
21222324252627
282930
Entries archive
Site friends
  • Create your own site
  • Spree4.com
  • My Blog
  • Statistics

    Total online: 1
    Guests: 1
    Users: 0
    spree4
    Copyright MyCorp © 2017
    Website builderuCoz