hermes_consulting
asked on
Modifying styles of ASP.NET Textbox and Label tags without setting the style for each one using CssClass.
Hi,
I would like a code example of how to modify ASP.NET Textbox and Label tag styles en mass without having to use the CssClass attribute on every textbox or label.
Many thanks.
I would like a code example of how to modify ASP.NET Textbox and Label tag styles en mass without having to use the CssClass attribute on every textbox or label.
Many thanks.
Can you please show me the source code of the type of page where you're trying to define the styles? I'm not too familiar with ASP.NET but I don't need to be in order to show you how to get page elements to behave the way you want with CSS.
On re-reading your question, it looks like you are assigning styles to each element on the page separately. If this is the case, an external style sheet will do what you want. I can easily show you how to do that but want to verify that this what you need.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.