|
Linked stylesheets not rendering in Firefox
|
|
Replies:
4
-
Pages:
1
-
Last Post:
Jun 3, 2009 11:36 PM
Last Post By: RAM_IBM_Develop...
|
|
|
Posts:
10
Registered:
Oct 10, 2006 03:24:56 AM
|
|
|
|
Linked stylesheets not rendering in Firefox
Posted:
Oct 10, 2006 03:34:30 AM
|
|
|
|
Has anyone else come across this problem or know what I am doing wrong:
I am using WCM 6.0 and testing with Firefox 1.5.0.7.
This problem does not occur in IE 6 - only in Firefox.
I have several linked stylesheets - stored as "stylesheet" components. When I view a page in Firefox it seems to ignore these linked stylesheets. This is an example of the reference in the HTML (using "view source" in Firefox) when I preview a page:
<link rel="stylesheet" title="normal" media="all" href="/wps/wcm/connect/7a64e1804295887c811acfc4f71f7cac/structure.css?MOD=AJPERES&CACHEID=7a64e1804295887c811acfc4f71f7cac" type="text/css" />
I can download this file from Firefox, no problem. If I use the "Validate Css" or "Edit CSS" Firefox developer tools - I can see these stylesheets.
If I put the CSS actually within the html, then this works fine.
When I preview pages from Dreamweaver, using local css files, Firefox does not have a problem - which makes me think that WCM is causing the problem.
I have tried making them File Resources instead of Style-Sheet components - but problem is the same.
Can anyone please help me out with this? Thanks.
|
|
Posts:
1
Registered:
Oct 11, 2006 10:22:58 AM
|
|
|
|
Re: Linked stylesheets not rendering in Firefox
Posted:
Oct 11, 2006 10:36:25 AM
in response to: Gareth Harvey's post
|
|
|
|
this is caused by a VALID doctype. for some reason WAS does not send the correct header information for css files causing firefox to ignore the file, this can be solved quickly by removing the doctype element. If you would rather keep your doctype valid you can try and force with apache (IBMHTTP), although I have not tried this.
Mike
|
|
Posts:
10
Registered:
Oct 10, 2006 03:24:56 AM
|
|
|
|
Re: Linked stylesheets not rendering in Firefox
Posted:
Oct 16, 2006 12:56:13 AM
in response to: 's post
|
|
|
|
Thanks Mike.
Your suggestion helped me find a workaround which allows me to still have a vaild DocType.
The workaround is to change the DocType of the HTML pages from XHTML
Strict to XHTML Transitional.
Previously I had this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
now I am using:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
and the problem has gone away.
This seems to indicate that something WAS is doing relating to rendering stylesheets is not compliant with the XHTML 1.0 Strict spec.
Cheers,
Gareth
|
|
Posts:
6
Registered:
Feb 14, 2005 06:34:52 AM
|
|
|
|
Re: Linked stylesheets not rendering in Firefox
Posted:
Feb 13, 2007 11:21:33 AM
in response to: Gareth Harvey's post
|
|
|
|
The Solution:
http://www-1.ibm.com/support/docview.wss?rs=1041&context=SS6JVW&dc=DB520&uid=swg21249997&loc=en_US&cs=UTF-8&lang=en&rss=ct1041lotus
|
|
Posts:
1
Registered:
Jun 03, 2009 11:35:22 PM
|
|
|
|
Re: Linked stylesheets not rendering in Firefox
Posted:
Jun 03, 2009 11:36:16 PM
in response to: G.Hermes's post
|
|
|
|
This url is not working. Can you please provide correct url?
|
|
|
|
|