Set page stylesheet in code-behind?

  • Thread starter Thread starter Liam
  • Start date Start date
L

Liam

Let's say we want to change the page style each day:

<HEAD>
..
..
..
<style type="text/css" media="all">@import url( TuesdayStyles.css );
</style>
</HEAD>

Is it possible to do this in *code-behind* ? Can you write the <STYLE>
directive into the <HEAD></HEAD> section of the page?
Thanks
Liam
 
in 2.0 it's easier...they have a method just for this.

in 1.1, you can plunk a literal down and use Literal.Text = "aaaaa"

Karl
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top