Check the css file itself and confirm that it validates. If it doesn't it
won't be applied. Perhaps you have either a missing or an extra { or } in
there.
You can validate CSS using http://jigsaw.w3.org/css-validator/
-----Original Message-----
From: Ian Skinner [mailto:[email protected]]
Sent: Wednesday, July 15, 2009 12:27 PM
To: cf-community
Subject: CSS being ignored.
Can anybody see any reason why the first two CSS files would be loaded
by the browser, but the third is just ignored?
<link rel="stylesheet" type="text/css" media="all"
href="resources/styles/base_styles.css
<view-source:http://localhost/resources/styles/base_styles.css>"/>
<link rel="stylesheet" type="text/css" media="all"
href="resources/styles/masthead.css
<view-source:http://localhost/resources/styles/masthead.css>"/>
<link rel="stylesheet" type="text/css" media="all"
href="resources/styles/adverts.css
<view-source:http://localhost/resources/styles/adverts.css>"/>
I have confirmed manually and with the Firefox view source feature that the
adverts.css file is available and
reachable from the browser. Firebug seems to see the file, I can expand the
link and see the CSS within the
HTML panel. But none of the CSS is being applied, and watching the HTTP
Live Headers, get file was not 'get'
by the browser. I just can't think of a reason for this.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
http://www.houseoffusion.com/groups/cf-community/message.cfm/messageid:300261
Subscription: http://www.houseoffusion.com/groups/cf-community/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5