Barney Carroll wrote: > Not wishing to suggest debate, but I want to know where IE7 stands with > hacks. Position is Everything has an (by definition) authoritative > article on IE7's hack support which I found to be somewhat useful. > > http://positioniseverything.net/articles/ie7-dehacker.html > > Significant here is that IE no longer believes in a higher being, and as such the star hack does not apply > to IE7. The article basically seems to suggest 'we > don't advocate hacks and here are our hacks - ps > don't use hacks'. The normal doublethink :).
You mean conditional comments? Those are hacks? And as for hacking, Holly and I have been very practical-minded about them. If they are safe, fine, if not, we indicate that fact, and suggest avoiding them. Um, CC code hidden inside comments that a specific browser has been designed to parse is now defined as a hack, a term usually reserved for code meant to take advantage of particular infidelities found in some browsers? It's a comment. If IE wants to parse what is inside, I fail to see how this is a hack, since MS designed that behavior specifically to provide an avenue to easy code forking. Personally I feel that it's awfully nice of MS to do this. It's almost like they realized how crummy their browser was and built in an escape hatch as an apology. > For those who might find it useful, my own ugly ugly ugly IE hack (if > anyone knows of a prior instance of it, please tell me) still works. > > selector,{definition} This hack depends on incorrect selector parsing, and so it cannot be relied on to exist for future IE releases. Witness the star-html hack, which we all assumed would remain until MS repaired IE's layout problems. We now know how wrong that assumption was. Certain others in the field warned us, but that hack was just sooo useful. I wish I had begun using CC's years ago, so that now I would not be faced with a shiza-load of CSS edits! > Does anyone know of a more comprehensive article than PIE's? I am > currently working on a site that suffers immensely from IE7 rendering > (everything else is fine but I have used countless hack and non-hack > browser-specific correction). I assume there must be hundreds of people > in the same position, only they forgot to invite me to the wake. I am writing a very advanced commercial CSS site right now, that assumes IE7 as the primary browser along with FF, and I'm having very little trouble other than some weird fixed position bugs in FF. I plan to dumb down IE6 as needed. Yes, IE7 does need a couple of layout fixes, but that's all. Could you post a live page with these IE7 problems you mention? Are they only in IE7 or are previous IE versions involved? I'm seriously concerned about any IE7-only such issues that may exist. Big John -- Perennial student + Impractical joker + CSS junkie = Big John <http://www.positioniseverything.net> __________________________________________________________________________________________ Check out the New Yahoo! Mail - Fire up a more powerful email and get things done faster. (http://advision.webevents.yahoo.com/mailbeta) ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/