skip to content rich footer

stevenclark.com.au

subscibe to the StevenClark.com.au rss feed

Archive for June, 2008

How Long is your IE Stylesheet?

Tuesday, June 24th, 2008

Here’s an interesting question. I guess we’ve all got different tolerance levels and methodologies based around Internet Explorer – sheer economics precludes a full day’s investigation of every cross browser issue for some businesses. So how many lines does your current IE stylesheet have?

For anyone who doesn’t know what I’m alluding to, its when we use conditional comments to target Internet Explorer (either en-masse or by version) to fix those lovely little anomolies we’ve grown to love in our own special industry fashion. Using conditional comments is a far superior way to dealing with these bugs than the dark and soul-degrading option of CSS Hacks. IE7 saw a few CSS Hacks come back to bite high profile standardistas when sites suddenly fell apart because several exploited browser bugs were fixed.

So how many lines are in your IE stylesheets? For example, on this site, although admittedly its a reasonably simple layout, my current IE6.css file has 14 lines of which 8 are selectors and declarations. The likely suspects in my IE6.css file use width, padding and a font-size for code. I’m of the mind to use this stylesheet sparingly after all measure of enquiry (or a sudden time crisis) has led me to no other alternative. I also only place the very exact rule that needs to go into that IE6 fix. As yet I haven’t had to utilise an IE7.css file.

Read the rest of this entry »

Social Networking

Keep an eye out for me on Twitter

About the Author

Steven Clark Steven Clark - the stand up guy on this site

My name is Steven Clark (aka nortypig) and my passions are business, web development, photography and writing. I have an MBA (Specialisation) and a Bachelor of Computing from the University of Tasmania. I am working as a business management consultant.

Photography

My photography is at Steven Clark Studio and my regular photo blog presents an ongoing stream of latest images at Walk a Mile in my Shoes and I'm working on a long-term photography project called the King Island Project.

Recently Reviewed Books

Site Supporters

Hosted by Brett Drinkwater at Tashosting who is always there at the other end of my every inconvenient question and technical crisis. Brett's local community support for us over the last five years is greatly appreciated.

skip to top of page

Currently Reading

Ansel Adams: The Camera

As the first of three parts of Ansel Adams Photography Series, Ansel Adams: The Camera begins by discussing the idea of visualisation in relation to photography. Ansel Adams is a master of his craft; this series has sat on my backburner for some time. Book 2 in this series is The Negative and it's followed up by The Print. In them Ansel outlines his philosophy of photography rather than trying to lay down a set of rules. This first instalment is a technical book that explains the good old fashion film camera.