[thelist] RE: thelist Digest, Vol 7, Issue 24

Tim Kuhn (temp) Tim.Kuhn at gettyimages.com
Wed Sep 10 10:33:48 CDT 2003


I now see how I am not making myself clear. 

On the user control some of the table cells are assigned a css class while others are not. What I want to do is use a place holder style name for these cells that I can override at the page level that the control is in. I know the css class name for a given page, I am just not privy to the information in the css class. What I am trying to avoid is making the stylized table cells individual html controls and assign them their style on the code behind. That method just is not all that elegant. So I am trying to go another direction and say in what ever language that I need to; CSS, JavaScript or C#, css class x is now equal to css class y and therefore apply class y to the elements that were class x. 

Tim

Date: Wed, 10 Sep 2003 15:54:40 +1000
From: "Ken Schaefer" <ken at adOpenStatic.com>
To: <thelist at lists.evolt.org>
Subject: Re: [thelist] Overriding a CSS class with another CSS class
Message-ID: <082201c37760$06afdbe0$0a345e81 at careersAD.unsw.edu.au>
References: <BAECKJLBKJKHPOOKPANNOEABCGAA.timmarla1 at comcast.net>
Content-Type: text/plain;
	charset="iso-8859-1"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Precedence: list
Reply-To: "thelist at lists.evolt.org" <thelist at lists.evolt.org>
Message: 5

At what point in time are you aware of the *names* of the classes defined in
the external style-sheet? Are these going to be fixed at some point in time?

Whilst you certainly can set a style (eg using CssClass="" for example in
your .Net code), unless you happen to know the names of the classes in the
external style sheet, you're going to have a problem aren't you? ie, what
"class" to apply at run-time.

Cheers
Ken



=======================================================
This email and its contents are confidential. If you
are not the intended recipient, please do not disclose
or use the information within this email or its
attachments. If you have received this email in error,
please delete it immediately. Thank you.
=======================================================


More information about the thelist mailing list