View Single Post
 
Reply
Posted 2008-05-25, 01:49 PM in reply to Goodlookinguy's post starting "Aw, great job Lenny. I'd never..."
Goodlookinguy said:
<!--[if IE]> = Not good for IE 8 users. IE 8 still follows the rules of <!--[if IE]>. That means that there is now a giant 40-width margin on the right.
Did you read the article?

Replace <!--[if IE]> with <!--[if lte IE 7]>. "lte" = "Less Than or Equal to", which means that if the browser is IE 7 or below the code in the if statement will apply to it.

---

WW said:
Usually, if you're having problems between IE and FF, it means there's a better way to structure your document than the one you are trying.
I might have suggested the downlevel-hidden CC, bit I agree with WW that it's not the best method to use. It's kinda sloppy, really, as if you've got the attitude, "Well, it works for FF, why should I re-structure everything to make it work in all browser?". I'm interested to see how WW would do it - I reckon it can be done with Javascript, or maybe nested tables.
Old
Profile PM WWW Search
Lenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basics
 
 
Lenny