FF: using a style within an include file not working properly
Question posted by: whatchamakeofit
(Guest)
on
July 2nd, 2008 08:55 PM
hello. i'm using ASP and my index page is including a header file,
and that header file uses some styles defined in an external
stylesheet. the problem i'm running into is that in firefox, the
styles aren't being applied at all, whereas in IE, they are. so, to
test things out, i removed the style from the external stylesheet and
made it an internal stylesheet within the index page. turns out that
that actually works.
so, i've solved my problem, but it would mean changing every single
ASP page that I have, at least the ones using that particular header
file. is there a more efficient way of doing this AND have the style
still work? thanks
Would you like to answer this question?
Sign up for a free account, or Login (if you're already a member).
|
|
July 2nd, 2008 09:45 PM
# 2
|
Re: FF: using a style within an include file not working properly
whatchamakeofit schrieb:
Quote:
Originally Posted by
hello. i'm using ASP and my index page is including a header file,
and that header file uses some styles defined in an external
stylesheet. the problem i'm running into is that in firefox, the
styles aren't being applied at all, whereas in IE, they are.
|
Is the HTML code generated by the ASP correct? Does the server serve the
external stylesheet with the correct media type?
--
Johannes Koch
In te domine speravi; non confundar in aeternum.
(Te Deum, 4th cent.)
|
|
July 2nd, 2008 11:45 PM
# 3
|
Re: FF: using a style within an include file not working properly
Johannes Koch wrote:
Quote:
Originally Posted by
whatchamakeofit schrieb:
Quote:
Originally Posted by
>hello. i'm using ASP and my index page is including a header file,
>and that header file uses some styles defined in an external
>stylesheet. the problem i'm running into is that in firefox, the
>styles aren't being applied at all, whereas in IE, they are.
|
>
Is the HTML code generated by the ASP correct? Does the server serve the
external stylesheet with the correct media type?
>
|
Bet the media type is wrong, IE pretty much ignores media type in the
Windows World file extension is GOD, but not so with modern web browsers
that work cross platform. Of course without a URL this is only guessing...
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Not the answer you were looking for? Post your question . . .
182,494 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).
|
|
|
Top Community Contributors
|