I'm new to CSS. I've looked around and couldn't find a post like this, but sorry if it's been asked before.
In my css file I want to set a default size and color for the text on my page. I assumed this can be done in the body, and that everything that would be different I would put in different classes (like headings etc.). Right now, I can't change the size of the normal text though. The color and font changes, but not the size. Here's my css:
body
{
color: #006699;
font-size: 10px;
font-family: Tahoma;
}
#questionMain
{
font: bold 14px Tahoma;
color: #006699;
}
#progress
{
font: 11px Tahoma;
color: #006699;
}
#errorMsg
{
font: 13px Tahoma;
color: #FF0000;
}
Anyone know what's wrong with this, and why the size won't change? Any help is appreciated!
In my css file I want to set a default size and color for the text on my page. I assumed this can be done in the body, and that everything that would be different I would put in different classes (like headings etc.). Right now, I can't change the size of the normal text though. The color and font changes, but not the size. Here's my css:
body
{
color: #006699;
font-size: 10px;
font-family: Tahoma;
}
#questionMain
{
font: bold 14px Tahoma;
color: #006699;
}
#progress
{
font: 11px Tahoma;
color: #006699;
}
#errorMsg
{
font: 13px Tahoma;
color: #FF0000;
}
Anyone know what's wrong with this, and why the size won't change? Any help is appreciated!