AxelF
06-02-2004, 12:18 PM
Hi guys.
On our board at cableforum.co.uk we need a way to replace the CSS styles with an alternate version.
Instead of using
<style type="text/css">
/*
CSS here
*/
</style>
We need to use
<link href="path/to/style.css" type="text/css" />
This is quite important for us because half the page seems to be CSS and our bandwidth usage is getting silly. (The file method would mean it is cached in the browser, making the site faster too)
I know that we can use an @import version now but this will not work properly in all browsers.
Any ideas?
Just one other note, there seems to be an option to store CSS as file in the Admin CP but it doesn't appear to make any difference to how it's included in the pages?
Thanks in advance to anyone who can help. :)
On our board at cableforum.co.uk we need a way to replace the CSS styles with an alternate version.
Instead of using
<style type="text/css">
/*
CSS here
*/
</style>
We need to use
<link href="path/to/style.css" type="text/css" />
This is quite important for us because half the page seems to be CSS and our bandwidth usage is getting silly. (The file method would mean it is cached in the browser, making the site faster too)
I know that we can use an @import version now but this will not work properly in all browsers.
Any ideas?
Just one other note, there seems to be an option to store CSS as file in the Admin CP but it doesn't appear to make any difference to how it's included in the pages?
Thanks in advance to anyone who can help. :)