Connecting Tech Pros Worldwide Help | Site Map

FF: using a style within an include file not working properly

  #1  
Old July 2nd, 2008, 09:55 PM
whatchamakeofit
Guest
 
Posts: n/a
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
  #2  
Old July 2nd, 2008, 10:45 PM
Johannes Koch
Guest
 
Posts: n/a

re: FF: using a style within an include file not working properly


whatchamakeofit schrieb:
Quote:
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.)
  #3  
Old July 3rd, 2008, 12:45 AM
Jonathan N. Little
Guest
 
Posts: n/a

re: FF: using a style within an include file not working properly


Johannes Koch wrote:
Quote:
whatchamakeofit schrieb:
Quote:
>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
Closed Thread