G
Guest
Hi,
I'm developing asp.net (vb) apps in VS.NET 2003, and I'd like to know how
you can write style sheet code in a sub in an .aspx page that when it's
rendered as html/text/css code in the .aspx page.
The idea is to programmatically write style sheet code that dynamically goes
into every page and is rendered accordingly.
Let's assume I wanted this kind of code into my rendered .aspx page
----------------------------------------------
<style type="text/css">
<!--
A.white11b { font-family: verdana,geneva,arial,helvetica; font-weight:
BOLD; font-size: 11px; color: #FFFFFF; text-decoration: none;}
A.white11b:visited { font-family: . . . .
----------------------------------------------------
But that this code doesn't exist before it's rendered.
How would I do that?
TIA
Kenneth P
I'm developing asp.net (vb) apps in VS.NET 2003, and I'd like to know how
you can write style sheet code in a sub in an .aspx page that when it's
rendered as html/text/css code in the .aspx page.
The idea is to programmatically write style sheet code that dynamically goes
into every page and is rendered accordingly.
Let's assume I wanted this kind of code into my rendered .aspx page
----------------------------------------------
<style type="text/css">
<!--
A.white11b { font-family: verdana,geneva,arial,helvetica; font-weight:
BOLD; font-size: 11px; color: #FFFFFF; text-decoration: none;}
A.white11b:visited { font-family: . . . .
----------------------------------------------------
But that this code doesn't exist before it's rendered.
How would I do that?
TIA
Kenneth P