|
| |
|
|
Talismanic
Posts: 59 From: Three Rivers, MI Status: offline
|
Question about CSS and A{ Style/Color - 2/16/2005 18:46:37
I don't know much about CSS but can usualy alter existing sheets to suit my needs. However I have a problem I cannot figure out. I want to change the link colors for a the "sidetitle." <h2 align="center" class="sidetitle">Search</h2> The links in the rest of the page are colored and styled how I want them but for this section I want to make them white. I thought I could do it with the following but it didn't work.
.sidetitle {
font-family:verdana, arial, sans-serif;
color:#FFF;
font-size:11px;
font-weight:normal;
line-height:14px;
padding:2px;
margin-top:10px;
letter-spacing: .1em;
border-bottom:1px dotted #FFF;
text-align:center;
/* background:#FF9933; */
}
a.sidetitle:link{
color: White;
text-decoration: none
}
a.sidetitle:visited{
color: White;
text-decoration: none
}
a.sidetitle:hover{
color: Red;
text-decoration: underline;
}
|
|
|
|
d a v e
Posts: 4179 Joined: 7/24/2002 From: England (but live in Finland now) Status: offline
|
RE: Question about CSS and A{ Style/Color - 2/17/2005 8:34:39
incidentally you can remove this align="center" as it's in your stylesheet
_____________________________
David Prescott Gekko web design
|
|
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
|
|
|