LeoLionHeart
Programmer
Hi there I have a few questions on Cascading Style Sheets.
I didn't have a style sheet at first in my project but I have now referenced one, such as in the head part of my html:
In my mainstyle.css I have the following class:
I have now gone back to my aspx form and for my controls I have gone to the property CSSClass and set the property to bodytext. However, the text still seems to be Times Roman. Also, for the text which are not in a label/textbox and are only in a <td> how do I make the CSSClass equal to bodytext. Or do I set the class to bodytext.
Any help would be appreciated.
thanks
leo.
I didn't have a style sheet at first in my project but I have now referenced one, such as in the head part of my html:
Code:
<link rel="stylesheet" type="text/css" href="mainstyle.css">
In my mainstyle.css I have the following class:
Code:
.bodyText {
color: #666666;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
font-weight: normal;
line-height: 16px;
}
I have now gone back to my aspx form and for my controls I have gone to the property CSSClass and set the property to bodytext. However, the text still seems to be Times Roman. Also, for the text which are not in a label/textbox and are only in a <td> how do I make the CSSClass equal to bodytext. Or do I set the class to bodytext.
Any help would be appreciated.
thanks
leo.