The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
![]() |
No style in Firefox? - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5) +--- Thread: No style in Firefox? (/showthread.php?tid=2384) |
No style in Firefox? - Stanlee - Feb 19th, 2013 Form Tools look really ugly in my regular browser, Firefox 18.0.2 For some reason the stylesheets are not processed. The same pages look fine in Internet Explorer 8, so the CSS files must be there. What can be the reason why Firefox ignores them. Firebug shows "This element has no style rules." Why? I have the latest 2.2.5 version of Form Tools, tried both themes, no luck. I much prefer using Firefox over the buggy IE8, please help me out here... Thanks! RE: No style in Firefox? - Joe - Feb 19th, 2013 Hi Stan, Form Tools is tested in all major browsers and it definitely works in Firefox. I suspect that the file is being served as text/html and not actually as CSS which causes Firefox an issue with loading it. The server side directive for this could be in the basic server configuration, or in a .htaccess file. There are other reasons that the CSS file could have problems but I would try fixing this first. More info from this thread: http://www.dreamincode.net/forums/topic/199358-error-in-firefox-body-this-element-has-no-style-rules/ Cheers, Joe RE: No style in Firefox? - Stanlee - Feb 19th, 2013 Hi Joe, Thanks for the response, you pointed me in the right direction. My .htaccess file for this site contained a line: Code: ForceType text/html;charset=ISO-8859-2 I have about two dozen websites on my server, all in English, except for this one, which also uses some weird characters, that's why I experimented with the above code, but it didn't do the trick, so I should have removed it already. Thanks for your help, Stan RE: No style in Firefox? - Joe - Feb 20th, 2013 Hi Stan, Happy to help. Thanks for sharing your update in the forum. I'm sure it will be very helpful to other members. Cheers, Joe |