|
| |
|
|
tinseltown
Posts: 2 Joined: 8/5/2004 Status: offline
|
Stupid CSS Question - 8/25/2004 22:35:43
I know this is basic stuff, but I just can't seem to work this CSS out. I'm a total newbie to this, but I did get all of the links and rollovers to work, I just don't know how to set the default text for the page. a:active { font-size: 10pt; color: #333333; font-family:Verdana } a:link { text-decoration: none; font-size: 10pt; color: #333333;font-family:Verdana } a:visited { color: #333333; font-size: 10pt; text-decoration: none;font-family:Verdana } a { color: #000000; font-size: 10pt; font-family:Verdana } A:hover {color: #333333; text-decoration: underline; font-family:Verdana} body { font-family: Verdana; font-size: 10pt } That's the sheet. I want the normal font to be Verdana, 8pt, and the colour to be #333333. Can someone help?
|
|
|
|
c1sissy
Posts: 5086 Joined: 7/20/2002 From: NJ Status: offline
|
RE: Stupid CSS Question - 8/25/2004 23:48:20
quote:
ORIGINAL: tinseltown I know this is basic stuff, but I just can't seem to work this CSS out. I'm a total newbie to this, but I did get all of the links and rollovers to work, I just don't know how to set the default text for the page. a:active { font-size: 10pt; color: #333333; font-family:Verdana } a:link { text-decoration: none; font-size: 10pt; color: #333333;font-family:Verdana } a:visited { color: #333333; font-size: 10pt; text-decoration: none;font-family:Verdana } a { color: #000000; font-size: 10pt; font-family:Verdana } A:hover {color: #333333; text-decoration: underline; font-family:Verdana} body { font-family: Verdana; font-size: 10pt } That's the sheet. I want the normal font to be Verdana, 8pt, and the colour to be #333333. Can someone help? Hi Tinseltown, welcome to outfront! And, please, no question is a stupid question, please remember that! And if you are interested in links for css, visit the links thread in here at the top of the css threads, and if you need any other ones, let us know and we can direct you to some good ones.
body {
font-family: Verdana;
font-size: 10pt;
}
a {
color: #000000;
font-size: 10pt;
font-family:Verdana;}
a:link {
text-decoration: none;
font-size: 10pt;
color: #333333;
font-family:Verdana;
}
a:visited {
color: #333333;
font-size: 10pt;
text-decoration: none;
font-family:Verdana; }
A:hover {color: #333333;
text-decoration: underline;
font-family:Verdana;}
a:active {
font-size: 10pt;
color: #333333;
font-family:Verdana; } Ok, first of all, make sure you end all of your properties with this ; Otherwise your style isn't closed and can interfer with the next style, even though you have the curly brackets. Next, You should have your body styles declared first in your style sheet. And, I'm not sure, but I don't think you need this a { color: #000000; font-size: 10pt; font-family:Verdana;} as you have this declaired in the rest of the links. Next, when you do your links styles, its always LVHA=Link, visited hover active. YOu need to make sure that you have it in this order for the links to work properly.
_____________________________
Deb-aka-c4Ksissy high panjandurum and alpha female of the silverback tribe As decreed by Jesper 5-24-2003. The only stupid question is... the one that is never asked!! http://directory.css-styling.com http://fmsforum.com http://positioniseverything.net/ http://www.tanfa.co.uk/
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|