PDA

View Full Version : Trouble with linked CSS stylesheets


matthias_ferber
09-22-2004, 11:05 PM
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!)

Voltage Spike
09-23-2004, 12:39 AM
<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.

matthias_ferber
09-23-2004, 01:21 AM
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