[thelist] CSS: Not using .css
Ken Kogler
thelist at lists.evolt.org
Sun Sep 8 13:29:03 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