I think the future of CSS is not in hacks but looking seriously into using the conditional comments. I’m saying this as someone that is trying to figure out the best approach for retrofitting older conversions.

 

Conditional comments are IE statements that say if ie6 use this additional CSS file, if IE5Mac, use this style sheet, if neither: ignore this statement.

 

IE7 is going to throw a curveball worthy of a World Series ring.  While it is easy and more convenient to throw  a * html statement into a CSS, we need to start seriously looking at separating our hacks into different style sheets and intelligently using filters and conditional comments to refer to them.

 

I think the approach this person is suggesting is very 2005, we need to look at 2006 answers.

 

I’m dreading the idea of inserting conditional comments into the head sections of html pages. I’d like to insert it into the main.css file that imports more sophisticated styles.  I have been overwhelmed lately and haven’t been able to test any answers to this. Does anyone have a suggestion?

 

Imagine teasing someone that their CSS is “So 2005!”  Did I just coin a term?  Has Joe Clark already coined this one?

 

Ted

www.tdrake.net

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Irina Ahrens
Sent: Thursday, September 29, 2005 9:17 AM
To: [email protected]
Subject: [WSG] When bugs become patterns - A look at CSS Hacks

 

Hi,

I've found this to be an interesting idea and wondering what other members think about it:

"When bugs become patterns - A look at CSS Hacks":
http://spaces.msn.com/members/siteexperts/Blog/cns!1pNcL8JwTfkkjv4gg6LkVCpw!1805.entry#comment

Cheers, Irina.

Reply via email to