Results 1 to 3 of 3

Thread: Trouble with linked CSS stylesheets

Hybrid View

  1. #1

    Default Trouble with linked CSS stylesheets

    I've been trying to get a document with a linked stylesheet to work without any success. I was only able to get it to work by putting the stylesheet data into the STYLE tag in the HTML page instead of linking to it. I'm hoping someone can provide me with some suggestions about what might be causing the problem?

    The LINK tag looks like this, in the original version:
    <LINK REL="STYLESHEET" HREF="../style.css" TYPE="text/rss">

    The stylesheet contains (in one simplified version I tested to be sure there were no syntax errors):

    body {
    font-weight: bold;
    }

    Since there was almost nothing in the iSilo documentation, knowledge base, or forum, I tried everything I could think of, such as:
    - using HTTP vs. local file access
    - using relative vs. absolute URLs (for both local and HTTP methods)
    - simplifying the CSS
    - upgrading to the current version of iSiloX (Mac)

    And of course I finally tried putting the CSS into the HTML page, which worked but doesn't meet my needs.

    Any further hints or ideas would be vastly appreciated.

    Thanks,
    Matthias Ferber
    (registered iSilo user!)

  2. #2

    Default

    Quote Originally Posted by matthias_ferber
    <LINK REL="STYLESHEET" HREF="../style.css" TYPE="text/rss">
    You may wish to check the "type" field on that. If the original also reads "text/rss" (instead of "text/css"), then you may have your problem.
    Guess what? I got a fever! And the only prescription ... is more cowbell!

  3. #3

    Default arrrgh

    Oh for the love of... sometimes it just takes an extra set of eyes, you know? I checked that line over and over, but I've been working with RSS a lot lately and the mistaken acronym just went straight by the radar. Thanks so much for the pointer, VoltageSpike -- and for the quick response -- I haven't tested it yet but I'm certain it'll solve the problem.

    Best,
    Matthias
    Last edited by matthias_ferber; 09-23-2004 at 12:22 AM. Reason: typo

Bookmarks

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
  •