httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krist van Besien" <krist.vanbes...@gmail.com>
Subject Re: [users@httpd] CSS applied in IE but not in Netscape and Firefox
Date Mon, 20 Mar 2006 09:06:57 GMT
On 3/19/06, Nanu Kalmanovitz <nanu@kalmanovitz.co.il> wrote:
>
>
> Hi!
>
> Server system SBS (Novell Small Business suite) 6.5 sp 1 with Apache 2.0.48,
> MySQL ver. 4.0.15a, PHP 4.2.3, all of them on same machine.
>
> I found on other forum the link
> http://developer.mozilla.org/en/docs/Incorrect_MIME_Type_for_CSS_Files
> that may be the solution for  a web site that works perfectly in IE, but in
> Netscape and Firefox (the style sheet is not applied to the html file).
>
> The solution is for says to add the "AddType text/css .css" line to the
> ".htaccess" file.
>
> It is the right solution?
>
> I found the ".htaccess" file under the
> sys:\tomcat\4\webapps\nps\portal.

There are several sollutions to to problem. You can add this "AddType"
statement in your httpd.conf, or in  a .htaccess file. In this last
case it has to be a .htaccess file that is read when this css file is
requested, so it needs to be in the directory where the css is, or
maybe one of its parent directories.

Krist

--
krist.vanbesien@gmail.com
Solothurn, Switzerland

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message