![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| ||||
| ||||
|
|
My site pages look ok in most browsers, including Safari on the Mac. With Mac's IE 5.2 the stylesheet is ignored. |
|
I've tried both @import and <Link. Any suggestions? |
|
Second question: assuming I don't want to add styles below the @import, is there any advantage in using it? |
|
How choose between @import and <Link ?? |
#3
| |||
| |||
|
|
My site pages look ok in most browsers, including Safari on the Mac. With Mac's IE 5.2 the stylesheet is ignored. I've tried both @import and <Link. Any suggestions? Second question: assuming I don't want to add styles below the @import, is there any advantage in using it? How choose between @import and <Link ?? Mason C |
#4
| |||
| |||
|
|
Have you been consistent with your capitalization? IE5 Mac is one of the few (the only?) browser that is case sensitive when it comes to stylesheets, so a class defined as .Important (say) won't show if you include it as style="important" eifion ] Mason C |
#5
| |||
| |||
|
|
MasonC wrote: My site pages look ok in most browsers, including Safari on the Mac. With Mac's IE 5.2 the stylesheet is ignored. I've tried both @import Mac IE 5.x is very fussy about the syntax of import statements. What is the exact @import statement you're using? assuming I don't want to add styles below the @import, is there any advantage in using it? @import hides styles from incapable browsers (NN 4.x, IE 4.x, etc.). Linked stylesheets may or may not be hidden, depending on the syntax. How choose between @import and <Link ?? What are you specific goals? |
#6
| |||
| |||
|
|
All are ok except mac's IE5.2 ignores my stylesheet imported by: STYLE type="text/css"> @import url(1main1.css) </STYLE I tried <LINK REL="stylesheet" TYPE="text/css" HREF="1main1.css" with the same result: ignored by mac's IE5.2 |
#7
| |||
| |||
|
|
In article <7rob9052vl9a7dnblm650g4ts9ukier8ei (AT) 4ax (DOT) com>, MasonC <masonc (AT) ix (DOT) netcom.xyz.com> wrote: All are ok except mac's IE5.2 ignores my stylesheet imported by: STYLE type="text/css"> @import url(1main1.css) </STYLE I tried <LINK REL="stylesheet" TYPE="text/css" HREF="1main1.css" with the same result: ignored by mac's IE5.2 The problem is that you've wrapped the whols style sheet in "@media screen". IE/Mac ignores @media blocks, as documented at http://w3development.de/css/hide_css_from_browsers/media/>. |
#8
| |||
| |||
|
|
IE/Mac ignores @media blocks, as documented at http://w3development.de/css/hide_css_from_browsers/media/>. |
![]() |
| Thread Tools | |
| Display Modes | |
| |