473,395 Members | 1,422 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Wicked Firefox CSS problem

Hello friends,

I have a very interesting problem with my css files and firefox -
I guess !

Listen:

I have set up my new website www.tagdance.de
For testing purpose I have mirrored this site under
www.suedafrika-kapstadt.com, where it looks lovely with all browsers.
When finished I took the whole site and uploaded it to www.tagdance.de.

Its ok with IE and Opera. But with firefox - no css !
The page is blank - just plain text - no formats !
BUT: I have an extension for firefox (cssedit). When I switch on the
extension-view to display the css-code - ups - there you go - the page
is reloaded with the correct formats and all is fine!
When I turn the css editor in firefox off - my design dies again.

Im not shure weather this is a css, firefox or server-problem, as I
have other sites with css on this machine and they work well.

I could bet no one knows an answer !

PS: It works when I load this css file from a different location.
Strange - isn't it ?

Thanks for any ideas.
Mark

Jul 21 '05 #1
7 8983
Els
ta******@gmail.com wrote:
Hello friends,
Have we met? ;-)
I have a very interesting problem with my css files and firefox -
I guess !

Listen:
Reading..
I have set up my new website www.tagdance.de
For testing purpose I have mirrored this site under
www.suedafrika-kapstadt.com, where it looks lovely with all browsers.
When finished I took the whole site and uploaded it to www.tagdance.de.

Its ok with IE and Opera. But with firefox - no css !
The page is blank - just plain text - no formats !
BUT: I have an extension for firefox (cssedit). When I switch on the
extension-view to display the css-code - ups - there you go - the page
is reloaded with the correct formats and all is fine!
When I turn the css editor in firefox off - my design dies again.
I've recently seen that on a site - forgot which one though. Only
happened with the background though, not the rest of the CSS.
Im not shure weather this is a css, firefox or server-problem, as I
have other sites with css on this machine and they work well.

I could bet no one knows an answer !
Yet ;-)
PS: It works when I load this css file from a different location.
Strange - isn't it ?

Thanks for any ideas.


What happens if you take the <!-- and --> comment indicators out from
the style block?

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: The Scene - Geef Nooit Op
Jul 21 '05 #2
In article <11*********************@o13g2000cwo.googlegroups. com>,
<ta******@gmail.com> wrote:
Hello friends,

I have a very interesting problem with my css files and firefox -
I guess !

Listen:

I have set up my new website www.tagdance.de
For testing purpose I have mirrored this site under
www.suedafrika-kapstadt.com, where it looks lovely with all browsers.
When finished I took the whole site and uploaded it to www.tagdance.de.

Its ok with IE and Opera. But with firefox - no css !


Javascript console:

Error: The stylesheet http://www.tagdance.de/tagdance.css was not
loaded because its MIME type, "text/xml", is not "text/css".

John
--
John P Baker
Jul 21 '05 #3
JP. Baker wrote:
In article <11*********************@o13g2000cwo.googlegroups. com>,
<ta******@gmail.com> wrote:

Javascript console:

Error: The stylesheet http://www.tagdance.de/tagdance.css was not
loaded because its MIME type, "text/xml", is not "text/css".


Yes.
Solution - have your hosting provider serve css files correctly - this
needs you to convince them that they're wrong ...
Workaround (failing the above) downgrade your doctype to make firefox
more forgiving (quirks mode), or find a better host.

Chris
Jul 21 '05 #4

Chris Sharman schrieb:
JP. Baker wrote:
In article <11*********************@o13g2000cwo.googlegroups. com>,
<ta******@gmail.com> wrote:

Javascript console:

Error: The stylesheet http://www.tagdance.de/tagdance.css was not
loaded because its MIME type, "text/xml", is not "text/css".
Yes.
Solution - have your hosting provider serve css files correctly -

this needs you to convince them that they're wrong ...
Workaround (failing the above) downgrade your doctype to make firefox more forgiving (quirks mode), or find a better host.

Chris

YES YES YES Boys ! Thanx a lot. The mime-thing was the deal !
The hint with the crappy host was fine (the host is me - its my server
- so it was easy convincing him)
Its one of my first machines running win2000 and oreilly website.
Changed it into text/css and now its working.
Thank god I dont have to install a browser-switch and redesign 1200
pages for firefox ;-)

Thank you all - Mark

Jul 21 '05 #5
Hi Els,

thank you for your comments and suggestions. I have tried it out. Also
with no brackets - no go.
It was the server-side mime-type thing.

But thank you very much.

PS: yes we've met. It was in a newsgroup about css - wasn't it ?

;-)

Thank you again Mark

Jul 21 '05 #6
Els
ta******@gmail.com wrote:
PS: yes we've met. It was in a newsgroup about css - wasn't it ?

;-)


eh.. that would be /this/ newsgroup then <g>

Certainly wasn't as "tagdance" then? Quite difficult to recognize
people on a text based medium if they change their handle :-)

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Jackson Brown - Load Out/Stay
Jul 21 '05 #7
Original post paraphrased

> I have a very interesting problem with my css files and firefox -
> I guess !
>
>
> Its ok with IE and Opera. But with firefox - no css !
> The page is blank - just plain text - no formats !
> BUT: I have an extension for firefox (cssedit). When I switch on the
> extension-view to display the css-code - ups - there you go - the page
> is reloaded with the correct formats and all is fine!
> When I turn the css editor in firefox off - my design dies again.[/color]

I am having the same problem. Does Firefox have a different syntax for loading stylesheet files than IE???

here's the code I use in the <head> section:

asdfsfsfsd

This works fine in IE -- has for years! I am just learning about Firefox that it is becoming a very popular browser. I was told that my website won't work with it. I tried myself and everyone is right! It doesn't work. In fact, none of the stylesheets are loading.

Here's the URL: (non-framed:) http://www.kofcri.org/testMenus.asp
Framed: http://www.kofcri.org

here's how I load the stylesheets:

<LINK REL ="StyleSheet" HREF="StyleSheets\filename.css" TYPE="text/css" media="all">

I have even tried the style of loading utilizing @import

I have also tried the / character instead of the \ character in the HREF portion.

Thanks,
Paul
Jul 24 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: 14 7/8\ x 8 1/2\ | last post by:
You guys should install SDL.NET. I'm running the examples in monodevelop right now and they're /wicked/ !
6
by: Geoff | last post by:
When trying to focus a field in Firefox, I get the following error: Error: " nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "JS frame ::...
12
by: Howard Kaikow | last post by:
Yesterday, I decided to try Firefox. I've encountered a behavior that is either a bug in Firefox or a bug in my Javascript code. I'll try to explain the problem, hoping that this newsgroup can...
3
by: TJS | last post by:
I am finding that the serverside requiredvalidator doesn't fire in the firefox browser, and user request proceeds through to my updateProfile method. Validation is working correctly in the IE...
6
by: Mark Olbert | last post by:
The doPostBack javascript functioning is not submitting the page when called by linkbuttons (or an autopostback checkbox, for that matter). I'm aware of a problem with Netscape browsers and the...
13
by: Giggle Girl | last post by:
Hi there, I am having a problem with the behavior of Firefox, where lefthand column content is not resized properly after it is "collapsed" and then "re-expanded". An online demo is available...
11
by: minnesotti | last post by:
Hi there, I subscribed to a photographic pictures-hosting website which is heavy on JavaScript. My preferred latest browser Mozilla Firefox does not work with it -- no pictures are displayed and...
7
by: Carlos Mendonça | last post by:
Has anyone managed to get ClickOnce to work with Firefox? It seems to me that it still has the same issues VS 2K5 had. I appreciate any comments or tips.
3
by: SAL | last post by:
Hello, I did google this issue and found some stuff related to BrowserCaps section of either web.config or machine.config but it didn't work. It seems that most pages in my webapp are okay but a...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.