1
trickmandan
layout , theme not working in firefox,
  • 2005/3/13 5:16

  • trickmandan

  • Just popping in

  • Posts: 3

  • Since: 2005/3/12


site looks great in IE.
styles are not working with firefox.
review site

I am running XOOPs on another site and it looks great in all browsers.
review site

Any suggestions?

.TrickManDan

2
trickmandan
Re: layout , theme not working in firefox,
  • 2005/3/14 0:49

  • trickmandan

  • Just popping in

  • Posts: 3

  • Since: 2005/3/12


I found a solution to the firefox, netscape layout issues with cascading style sheets CSS.

After loading XOOPS onto my host server I found a handler modification in the Apache configuration for css/text type.

The .css extention was now handled by PHP.
Strange??

CSS rendering has never been and issue before.

To resolve this issue:

01.)
This issue can be resolved by adding a header call to the top of your "dynamic" CSS files (PHP) like this:
<?php header("Content-type: text/css"); ?>

OR

02.)
If you have access to the modify the handlers for Apache directly or through a CPanel type of setup, you can add your own handler:
.css text/css

AND/OR

.03)
Use htacess file to force handler
your htacess file will need this line:
AddHandler text/css .css


I hope this saves other developers hours of fustration.

-trickmandan
PokerPanda.com

3
soquili
Re: layout , theme not working in firefox,
  • 2005/3/15 23:49

  • soquili

  • Just popping in

  • Posts: 9

  • Since: 2005/2/27


Hi, Tricmandan--

Actually, the CSS resolution problem only affects older ver. of Firefox. They seem to have solved it in the latest build. ver. 1.01. Tho you hacked a fix for it on your site, I can tell no difference in the site view whether in Firefox or IE 6.

Just so you and others will know.