Barney Boisvert wrote:

> with your LINK tag, rather than referencing a CSS file, reference a
> CFM file that just happens to generate valid CSS.
> 
> Or, an easier solution is to just emebed the CSS directly in the page.
> You're not going to lose anything by doing it this way if you're
> already using a dynamic CSS file.

Or better, 'cause you won't end up wasting as much bandwidth:

<link rel="stylesheet" href="stuff-that-never-changes.css"
     type="text/css" media="screen" />
<link rel="stylesheet" href="stuff-that-does-changes.cfm"
     type="text/css" media="screen" />

And don't forget to set the correct MIME type in the headers in the
generated stylesheet.

Alternatively, you cold do:

<link rel="stylesheet" href="stuff-that-never-changes.css"
     type="text/css" media="screen" />
<style type="text/css" media="screen">
<!--- Stuff that changes goes here. --->
</style>

-- 
Keith Gaughan, Developer
Digital Crew Ltd., Pembroke House, Pembroke Street, Cork, Ireland
http://www.digital-crew.com/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF 
community.
http://www.houseoffusion.com/banners/view.cfm?bannerid=35

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182084
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to