SitePoint Sponsor

User Tag List

Results 1 to 11 of 11
  1. #1
    SitePoint Wizard Ian Glass's Avatar
    Join Date
    Oct 2001
    Location
    Beyond yonder
    Posts
    2,384
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Since when has NS4 not been able to read linked stylesheets?

    Just downloaded NS4.8--all 17.3MB of it--for testing, and I can't seem to get it to use <link>ed stylesheets at all. It'll "work" (as much as can be expected) with styles declared inside the page, itself, but not when I link to it. Even SitePoint has problems--can't seem to figure this one out.

    And I really don't want to d/l it again! :-p

    ~~Ian

  2. #2
    SitePoint Enthusiast Option1's Avatar
    Join Date
    Nov 2002
    Location
    Up the back of the bus
    Posts
    47
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    NS 4.8 will handle linked stylesheets for me. It won't handle @import stylesheets (which is a good thing because it lets me run two separate sheets) and it doesn't handle a whole lot of CSS, but what it does handle it'll pick up from a linked stylesheet.

    <link rel="stylesheet" href="motifNN.css" type="text/css">

    Neil

  3. #3
    SitePoint Wizard Ian Glass's Avatar
    Join Date
    Oct 2001
    Location
    Beyond yonder
    Posts
    2,384
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yep, that's what I remembered, but somehow NS's buggin' out on me. I guess I'll give downloading it again another try sometime when I have the stamina.

    ~~Ian

  4. #4
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)

    Re: Since when has NS4 not been able to read linked stylesheets?

    Originally posted by Ian Glass
    Just downloaded NS4.8--all 17.3MB of it--for testing, and I can't seem to get it to use <link>ed stylesheets at all. It'll "work" (as much as can be expected) with styles declared inside the page, itself, but not when I link to it. Even SitePoint has problems--can't seem to figure this one out.

    And I really don't want to d/l it again! :-p

    ~~Ian
    How did you get 4.8? I thought they stopped with 4.79. That's what I have and the <link>ed stylesheets work fine.

    --Vinnie

  5. #5
    Your Lord and Master, Foamy gold trophy Hierophant's Avatar
    Join Date
    Aug 1999
    Location
    Lancaster, Ca. USA
    Posts
    12,305
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    If there is an error in your stylesheet or an attribute that Netscape 4.XX doesn't recognize, it can throw out the entire thing.
    Last edited by Hierophant; Dec 21, 2002 at 15:03.
    Wayne Luke
    ------------


  6. #6
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    To add to Wayne's reply:

    NS4 can even screw up a stylesheet if you don't have the appropriate "media" attribute, which must be "screen". Or you can just leave it out. Otherwise your sheet will be ignored.

    --Vinnie

  7. #7
    SitePoint Wizard Ian Glass's Avatar
    Join Date
    Oct 2001
    Location
    Beyond yonder
    Posts
    2,384
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by vgarcia
    How did you get 4.8? I thought they stopped with 4.79. That's what I have and the <link>ed stylesheets work fine.
    In their browser archives.
    NS4 can even screw up a stylesheet if you don't have the appropriate "media" attribute, which must be "screen".
    Yeah, that worked! Thanks a bunch. :-)

    I had it on "all" because I used @media and I wanted everything in one file. I guess, I'll just drop the media attribute altogether since the browsers seem to treat it as "all" anyway, even though the default is suppose to be "screen."

    ~~Ian

  8. #8
    SitePoint Member
    Join Date
    Dec 2002
    Location
    The Shire
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've been having the same problem. My CSS works in everything but NS 4.79.

    I left out the media tag, but it still doesn't work.

    Is this correct?

    <LINK REL=STYLESHEET HREF="http://cgi-bin.spaceports.com/~lucrece/Wallaba/monsters.css" TYPE="text/css">
    Shining Waters Fantasy Literature
    http://galileo.spaceports.com/~lucrece

  9. #9
    Robert Wellock silver trophybronze trophy xhtmlcoder's Avatar
    Join Date
    Apr 2002
    Location
    A Maze of Twisty Little Passages
    Posts
    6,316
    Mentioned
    60 Post(s)
    Tagged
    0 Thread(s)
    For a "persistent stylesheet" within XHTML it tends to take the form; <link rel="stylesheet" href="yourfile.css" type="text/css" /> the link to the CSS should work in Netscape 4.7x if it exists and is written correctly.
    Last edited by xhtmlcoder; Jan 13, 2003 at 11:15.

  10. #10
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Originally posted by Sephronel
    I've been having the same problem. My CSS works in everything but NS 4.79.

    I left out the media tag, but it still doesn't work.

    Is this correct?

    <LINK REL=STYLESHEET HREF="http://cgi-bin.spaceports.com/~lucrece/Wallaba/monsters.css" TYPE="text/css">
    Quote your "stylesheet".

  11. #11
    Robert Wellock silver trophybronze trophy xhtmlcoder's Avatar
    Join Date
    Apr 2002
    Location
    A Maze of Twisty Little Passages
    Posts
    6,316
    Mentioned
    60 Post(s)
    Tagged
    0 Thread(s)
    Try to remove these 4 lines from your external "monsters.css" file it might a help a little.

    Code:
    <STYLE TYPE="text/css">
    <!--
    
    --!>
    </style>
    Common mistake to make .


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •