If you are anything like me, you have been starting to use the great features listed in the CSS3 directive. Taking advantage of such psuedo classes as :last-child, and nth-child().
Unfortunately Microsoft have not been too intelligent about adding the CSS directives into its browser, inlike the Mozilla based browsers and Safari. Before today I was frustrated with having to make work arounds for IE7 let alone IE6. In many cases I have ignored IE6 functionality, and ignored the users still using an unsafe, outdated browser.
Dean has built two scripts to alter the workings of IE, one specifically for IE7 which upgrades MSIE5-6 to be compatible with MSIE7, and highlights some key functionality in the latest CSS directives.
And probably my script of choice called IE8.js, which I will provide the download location of here, for my use and yours.
To get Internet Explorer behaving like a standards compliant browser simply include the script in the following fashion:
<! — [if lt IE 8]>
<![endif] — >
To fix transparent PNG images, including background images, you need to name any such images with the *-trans.png suffix. Unfortunately, the transparent background image cannot be tiled (repeated) using background-repeat. Nor can it be positioned using background-position.
Dean Edwards you are freakin awsome!
Posted On: Friday, October 24th, 2008 @ 6:00 pm by Ian Tearle
If you would like to discuss anything about this post, please be polite and add your comments below.
No HTML is allowed. All links, and new lines will be automagically converted to HTML for you.
Notice to spammers, all links will be sanitized with rel="nofollow".
If you would like to discuss anything about your next project please drop me a line.
Projects start at £99.00 per month
We normally book 2–3 months in advance.
No matter how small your project is, or if the prices above scare you, please do get in touch, I shall always listen and will advise freely alternative ideas or solutions. If you are a charity, let's talk!