Chris, here's one way I've done it: have a single external style sheet which
holds your defaults, then override per page as necessary with per-user values
from your database. Because styles "cascade," if there's something
page-specific it will take precedence over the external sheet. To override
per page, easiest is to add a literal control between <head></head>, then add
your <style></style> to it at run-time. If all your pages inherit from a
single page, you only have to do this once, else you have to do it for each
page where you want the new styles.
hth,
Bill
P.S. You can also add id= and runat= to the <head> tag directly, but as has
been documented out here a bunch of times the runat= disappears at random
when you toggle to/from design mode.
"Chris" wrote:
Hi
I have another style sheet question:
We effectively have a page that has two text boxes on it.
We would like one text box to be in one style and the other text box to be
in another style.
The problem is we would like the user to be able to control the styles using
style sheets.
Is there anyway around this without hard coding the styles into the page?
Thanks in advance
Chris