Topic: Stylesheet won't load off a CD (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=11076" title="Pages that link to Topic: Stylesheet won&amp;#039;t load off a CD (Page 1 of 1)" rel="nofollow" >Topic: Stylesheet won&#039;t load off a CD <span class="small">(Page 1 of 1)</span>\

 
krets
Paranoid (IV) Mad Scientist

From: KC, KS
Insane since: Nov 2002

posted posted 10-15-2003 21:21

I've got a project I'm doing for work that's going to be distributed via CD. When the page loads from a CD the stylesheet isn't getting read for some reason. I'm using a relative url when I link the stylesheet, should I switch that to an absolute URL or am I going to have to use an embedded stylesheet?

:::11oh1:::

Petskull
Maniac (V) Mad Scientist

From: 127 Halcyon Road, Marenia, Atlantis
Insane since: Aug 2000

posted posted 10-16-2003 03:01

dude, let's see some of that code...

...it *should* work fine as relative...

are you trying to php it?
are you trying to @import on a bad browser?


Code - CGI - links - DHTML - Javascript - Perl - programming - Magic - http://www.twistedport.com
ICQ: 67751342

krets
Paranoid (IV) Mad Scientist

From: KC, KS
Insane since: Nov 2002

posted posted 10-16-2003 03:03

Nope, just a <link blah blah /> type situation...

:::11oh1:::

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 10-16-2003 03:42

I've never heard of anyone having this problem, but then I don't remember hearing of anyone putting their web page on a CD.

What's the relative link? Why don't you paste us the whole link tag? Or maybe the whole head of the document? It's hard to say if it's your fault or just an IE quirk. Did you test it in different browsers?

krets
Paranoid (IV) Mad Scientist

From: KC, KS
Insane since: Nov 2002

posted posted 10-16-2003 03:48

It works in every browser I've tried it in, even IE 4.0, it works perfectly. It's just a simple:

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



:::11oh1:::

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 10-16-2003 04:07

Oh, ok, so it's in the same directory.

What do you mean it works perfectly in every browser you tried? Do you mean when it's *not* on the CD? What does it not work in when it *is* on the CD?

krets
Paranoid (IV) Mad Scientist

From: KC, KS
Insane since: Nov 2002

posted posted 10-16-2003 05:39

It works just fine when run locally off my harddrive or off my company's network. It won't load from the CD on IE 4.0 which is what we need it to run on because of how the drives are built for the systems the CD is designed for.

:::11oh1:::

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 10-16-2003 07:57

Oh... sounds like an IE 4 bug in that case, especially if it works fine in IE 5+. You might have to use an inline style sheet =\

krets
Paranoid (IV) Mad Scientist

From: KC, KS
Insane since: Nov 2002

posted posted 10-16-2003 15:16

That's kind of what I figured.

*sigh*

:::11oh1:::



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu