HighDots Forums  

IE 5.2 on Mac - no stylesheet??

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss IE 5.2 on Mac - no stylesheet?? in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
MasonC
 
Posts: n/a

Default IE 5.2 on Mac - no stylesheet?? - 05-01-2004 , 11:13 PM






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

Reply With Quote
  #2  
Old   
Lauri Raittila
 
Posts: n/a

Default Re: IE 5.2 on Mac - no stylesheet?? - 05-02-2004 , 03:37 AM






In article MasonC wrote:
Quote:
My site pages look ok in most browsers, including Safari on
the Mac. With Mac's IE 5.2 the stylesheet is ignored.
URL?

Quote:
I've tried both @import and <Link. Any suggestions?
What syntax. IIRC, it is meaningful at least with first

Quote:
Second question: assuming I don't want to add styles
below the @import, is there any advantage in using it?
IE3 and IE4 may not understand it. Nobody should use them anyway, so not
big advantage. I have personally never useed it, as IE4 has surprisingly
good ability to ignore stuff it doesn't know (compared to NN4...)

Quote:
How choose between @import and <Link ??
Which happens to work better/worse on browsers you care. Anyway, avoid
situation where you have @import in external stylesheet, as it makes
loading it slower, as there is more http requests needed to get it.

(very often people put their "advanged" css to this way, and cause flash
of suboptimally styled content...)

--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
I'm looking for work | Etsin työtä


Reply With Quote
  #3  
Old   
Eifion
 
Posts: n/a

Default Re: IE 5.2 on Mac - no stylesheet?? - 05-02-2004 , 03:04 PM



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

MasonC wrote:
Quote:
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

Reply With Quote
  #4  
Old   
Eifion
 
Posts: n/a

Default Re: IE 5.2 on Mac - no stylesheet?? - 05-02-2004 , 04:10 PM



or class="important" even..... (oops)
Eifion wrote:
Quote:
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


Reply With Quote
  #5  
Old   
MasonC
 
Posts: n/a

Default Re: IE 5.2 on Mac - no stylesheet?? - 05-03-2004 , 02:23 AM



On Mon, 03 May 2004 00:50:34 GMT, Brian <usenet3 (AT) julietremblay (DOT) com.invalid> wrote:

Quote:
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?
OK in as many *modern* browsers as practical. I test in Opera
MSIE 6, Netscape, Mozilla, Firefox, Safari(mac), and IE5.2(mac)

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

I gather that "@import" may be the better choice so as to stay out
of trouble with older browsers. The pages are readable unstyled, but
sure not "pretty."

FYI: http://masonc.home.netcom.com

Thank you, Lauri, Eifion, and Bryan

Mason C


Reply With Quote
  #6  
Old   
Eric A. Meyer
 
Posts: n/a

Default Re: IE 5.2 on Mac - no stylesheet?? - 05-03-2004 , 09:20 AM



In article <7rob9052vl9a7dnblm650g4ts9ukier8ei (AT) 4ax (DOT) com>,
MasonC <masonc (AT) ix (DOT) netcom.xyz.com> wrote:

Quote:
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/>.

--
Eric A. Meyer - http://www.meyerweb.com/eric/


Reply With Quote
  #7  
Old   
MasonC
 
Posts: n/a

Default Re: IE 5.2 on Mac - no stylesheet?? - 05-03-2004 , 01:49 PM



On Mon, 03 May 2004 13:20:34 GMT, "Eric A. Meyer" <eric (AT) meyerweb (DOT) com> wrote:

Quote:
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/>.
Thank you ! :-))

Mason C



Reply With Quote
  #8  
Old   
Johannes Koch
 
Posts: n/a

Default Re: IE 5.2 on Mac - no stylesheet?? - 05-04-2004 , 04:25 AM



Eric A. Meyer wrote:
Quote:
IE/Mac ignores @media blocks, as documented at
http://w3development.de/css/hide_css_from_browsers/media/>.
Or <http://w3development.de/css/assigning_external_css/at_media.html>
--
Johannes Koch
In te domine speravi; non confundar in aeternum.
(Te Deum, 4th cent.)


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.