Monday, November 28, 2005

Time to stop using CSS hacks

The Internet Explorer development team have already said it, now the person who, in his own words "..opened Pandora's Box (Model) of CSS Hacks..." is adding to the message: It's time to stop using CSS hacks now, and start using valid, standards compliant code.

Tantek has written an informative article, shedding some information on how the infamous Box Model Hack came about, explaining what a hack should and should not contain, and offering some useful tips for pressing forward with new browsers.

Tantek's message is excellent, and the guidelines he mentions are valuable to any web professional. He points to using standards, validating your work, not relying on browser defaults, only using hacks for obsolete browsers (if absolutely necessary) and keeping the pressure on browser vendors as ways of helping to eliminate hacks from your work.

1 Comments:

At November 28, 2005 8:35 pm, Anonymous Anonymous said...

should've been done this earlier tho...but i guess lesson learnt.

 

Post a Comment

<< Home