|
-
Jan 19th, 2005, 12:32 PM
#1
Thread Starter
Hyperactive Member
Change the bgcolor in the stylesheet
is there a way in codebehind to change the bgcolor in the stylesheet?
-
Jan 19th, 2005, 09:10 PM
#2
Re: Change the bgcolor in the stylesheet
I don't think you can actually access the CSS file like that. It's "wrong" because then the change reflects everywhere. Instead, use client side javascript to set the bgcolor of the body or whichever element you're looking for. Or even better, change the css class attribute you're using for the element to some other css class.
-
Jan 20th, 2005, 09:40 AM
#3
Thread Starter
Hyperactive Member
Re: Change the bgcolor in the stylesheet
what i'm trying to do is allow users to change the color of all the pages contained in my site by clicking on one of a few color options.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|