RSS ? Recent Blog Posts

Blogs ยป Archive for March 6th, 2004

Fixing IE

by Simon Willison

Anyone who has experimented with CSS driven, standards compliant design techniques will know that the greatest challenges are posed by the most widely used browser: Internet Explorer for Windows. With it’s dodgy box model, missing support for CSS2 selectors and absent core properties such as min-width and max-width many intelligent CSS techniques just aren’t worth using.

This is a well documented problem. Attempts in the past have been made to remedy some of IE’s weaknesses, usually revolving around using Javascript to replicate some of the missing features. Dave Shea collated some of these in his recent piece on side-stepping IE; key examples include max-width support using expression: and whatever:hover for adding :hover support to non-link elements.

These are valuable tools, but wouldn’t it be nice if there was a single solution that brought IE up to the standard of other modern browsers? Thanks to Dean Edwards, there is: IE 7, a cheekily titled package of IE bug fixes that covers missing CSS2 selectors, min/max width and height properties and even adds support for the HTML element. It’s implemented as a single 28KB CSS file which can be linked in at the top of any page.

It’s hard to …

 

Sponsored Links

SitePoint Marketplace

Buy and sell Websites, templates, domain names, hosting, graphics and more.