best way to programatically set a page's style?

P

PJ6

Instead of putting something like this in the page's HTML

<LINK rel="stylesheet" type="text/css" href="..\Styles.css" />

I would like to be able to have the page set its style at runtime from the
code behind. Is it possible to do this in an OO way - that is, not have to
get your fingers into the <HEAD> area "control" and manually add a LINK tag
there?

Paul
 

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

Members online

Forum statistics

Threads
473,733
Messages
2,569,440
Members
44,829
Latest member
PIXThurman

Latest Threads

Top