OnTheAnvil Posted January 20, 2004 Posted January 20, 2004 I have a label on a webform. The label's CssClass Property is set to "StandardLabel". In the Styles.css file in my project I placed this snippet of code... StandardLabel { font-size: 1.17em; } I run my project and the label looks the same as everyother label on the page without the CssClass property set. I'm assuming I need to link the .css file or something simple thing like that but I don't know what. Thanks for your help. Quote
OnTheAnvil Posted January 20, 2004 Author Posted January 20, 2004 I should have mentioned this above: My ultimate goal is to have right justified text for the labels so that multiline labels text will align nicely with controls to the right of the label. If you know how to set that with css I'd appreciate it. Quote
Administrators PlausiblyDamp Posted January 20, 2004 Administrators Posted January 20, 2004 in the html between the and tags enter replacing stylesheet1.css with the name of your style sheet. Not 100% sure but IIRC the entry in your stylesheet should be .StandardLabel { font-size: 1.17em; } Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.