[thelist] CSS: Not using .css
Ken Kogler
ken.kogler at curf.edu
Sun Sep 8 13:29:03 CDT 2002
> Any reason you want to use .asp for CSS files?
> or that you *dont'* want to use .css for CSS files?
More for curiousity than anything else.
It had occurred to me that doing this could be easier than separate
stylesheets:
---- code block ----
<%
url = "/articles/"
select case url
case "/articles/"
color = "#0000ff"
case "/resume/"
color = "#ffffff"
end select
%>
body { background-color: <%= color %>;
---- / code block ----
Stupid example, but it gets the basic concept across.
--Ken
More information about the thelist
mailing list