Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / CSS / July 2008



Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
whatchamakeofit - 02 Jul 2008 21:53 GMT
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
Johannes Koch - 02 Jul 2008 22:37 GMT
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?

Signature

Johannes Koch
In te domine speravi; non confundar in aeternum.
                            (Te Deum, 4th cent.)

Jonathan N. Little - 03 Jul 2008 00:41 GMT
> whatchamakeofit schrieb:
>> hello.  i'm using ASP and my index page is including a header file,
[quoted text clipped - 4 lines]
> 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...

Signature

Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.