[thelist] CSS: Not using .css
Michael Barrett
mbarrett at triad.rr.com
Sun Sep 8 13:21:09 CDT 2002
I'm assuming that you are in need of some kind of dynamic style sheet
because you are calling a ASP document with a GET query string.
Instead of finding out the hard way that some browser won't work with this
technique...why not just include style into an inline style sheet
In pseudo code.
<style type="text/css" media="screen">
<!--
If style = "red" {
Include("css/redstyle.css")
}
-->
</style>
> Are there any caveats to be aware of when doing this:
>
> <link type="text/css" media="all"
> href="/css/main.asp?style=red" rel="stylesheet">
>
> Am I correct that the browser could care less what the extension of the
> stylesheet is as long as it's specified as "text/css"?
--
Michael Barrett
-O^O-
-
mbarrett at triad.rr.com
More information about the thelist
mailing list