Connecting Tech Pros Worldwide Help | Site Map

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

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 2nd, 2008, 08:55 PM
whatchamakeofit
Guest
 
Posts: n/a
Default FF: using a style within an include file not working properly

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, 09:45 PM
Johannes Koch
Guest
 
Posts: n/a
Default 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 2nd, 2008, 11:45 PM
Jonathan N. Little
Guest
 
Posts: n/a
Default 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
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.