|
| |
|
|
gorilla
Posts: 2974 From: Denmark Status: offline
|
Target IE/Mac only and validate using @ import - 1/16/2004 9:03:49
I know a lot of people don't like it. I don't myself but the fact is that IE/Mac's CSS engine is much better than IE/Win. However targetting it can cause the page to break in other browsers. Here's a variant of the commented backslash hack to fix that problem: Solution: <style type="text/css"> \/* @import("stylesheet.css"); */ </style> As you can see it's a double hack - and it does validate. Mhaircaish
_____________________________
Mháircaish Signature self-censored to protect the sensibilities of the thin-skinned . May we never confuse honest dissent with disloyal subversion. – Dwight D. Eisenhower
|
|
|
|
c1sissy
Posts: 5084 Joined: 7/20/2002 From: NJ Status: offline
|
RE: Target IE/Mac only and validate using @ import - 1/16/2004 10:59:59
quote:
ORIGINAL: gorilla I know a lot of people don't like it. I don't myself but the fact is that IE/Mac's CSS engine is much better than IE/Win. However targetting it can cause the page to break in other browsers. Here's a variant of the commented backslash hack to fix that problem: Solution: <style type="text/css"> \/* @import("stylesheet.css"); */ </style> As you can see it's a double hack - and it does validate. Mhaircaish Thank you greatly for posting this. I appreciate the knowledge that you share with us all the time.
_____________________________
Deb-aka-c4Ksissy high panjandurum and alpha female of the silverback tribe As decreed by Jesper 5-24-2003. The only stupid question is... the one that is never asked!! http://directory.css-styling.com http://fmsforum.com http://positioniseverything.net/ http://www.tanfa.co.uk/
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|