|
|
#1 | |
|
Join Date: Jul 2004
Location: MKE
Posts: 13,629
|
Any other designer/developers here faced with fixing their IE6/FF hacks in order to accommodate IE7 now?
I have my own web design company and one of my clients came back to me asking for help getting his site up to snuff for IE7 since it has a completely revamped CSS rendering engine. Whereas for IE6, in order to design around it's various bugs and weird standards you could use something to the effect of: #header{ ... } html>body #header{ ... ... } You were able to have two different styles for both IE6 (the first entry) and FF (the second entry) because IE6 didn't understand the html>body portion in front of the layer ID. Now...IE7 understands that and it's using the FF styles which is screwing up its look. ![]() I have a feeling this is going to be a pain in the ass trying to recode a third set of styles for IE7. Damn you MS! |
|
|
|
|
|
|
#2 | |
|
Join Date: Jul 2004
Location: MKE
Posts: 13,629
|
w00t!
Found a new hack. ![]() *:lang(en) #header{ ... } IE7 doesn't understand :lang so it'll skip those while FF will still render them. |
|
|
|
|
|
|
#3 |
|
Join Date: Jul 2004
Location: MKE
Posts: 13,629
|
Sigh...IE can't read it, but neither can FF 2.0.
I thought it was working fine because I refreshed the page in IE6, IE7 and FF 2.0 and it looked perfect in all three, but it turned out that FF was still going from the cached CSS that worked fine previously.Anyway, I got around it all using a conditional: <link rel="stylesheet" type="text/css" href="style.css" /> <!--[if IE]> <link rel="stylesheet" type="text/css" href="style_ie.css" /> <![endif]--> And just separated the IE/FF styles into their own files. It's more work when/if changes need to happen, but it's better this way in the long run I s'pose. And it works. ![]() |
|
|
|
|
|
#4 | |
|
Registered User
|
Quote:
I suggest installing this : http://chrispederick.com/work/webdeveloper/ ... It's an amazing little extension... ![]() |
|
|
|
|
|
|
#5 | |
|
Join Date: Jul 2004
Location: MKE
Posts: 13,629
|
Quote:
![]() Thanks for the link! |
|
|
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| $129.99 - HP 2011x Black 20" LED BackLight LCD Monitor Slim Design | News | 20-Inch | 0 | 06-10-12 01:17 PM |
| How Google and Microsoft taught search to "understand" the Web | News | Latest Tech And Game Headlines | 0 | 06-07-12 06:50 AM |
| The Eephus League Magazine: Pitch-Perfect Web Design | News | Latest Tech And Game Headlines | 0 | 05-21-12 01:30 PM |
| Where Does Web Culture Go From Here? That's the Big Question at ROFLcon III | News | Latest Tech And Game Headlines | 0 | 05-06-12 06:50 PM |
| NV30 Design Change??? | Stavros | Rumor Mill | 7 | 09-01-02 07:32 PM |