HighDots Forums  

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

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss FF: using a style within an include file not working properly in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
whatchamakeofit
 
Posts: n/a

Default FF: using a style within an include file not working properly - 07-02-2008 , 04:53 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

Reply With Quote
  #2  
Old   
Johannes Koch
 
Posts: n/a

Default Re: FF: using a style within an include file not working properly - 07-02-2008 , 05:37 PM






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.)


Reply With Quote
  #3  
Old   
Jonathan N. Little
 
Posts: n/a

Default Re: FF: using a style within an include file not working properly - 07-02-2008 , 07:41 PM



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


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.