PDA

View Full Version : Odd CSS issue



neonWired
09 Feb 2010, 05:40 AM
i have this CSS rule which works fine:



#upperPanel a {
display: block;
width: 100%;
text-align: center;
height: 40px;
font-size: 16px;
font-weight: bold;
margin: 12px 0;
}


but if i make the rule using pseudo-classes the entire rule is ignored. Why?



#upperPanel a:link, #upperPanel a:hover, #upperPanel a:active, #upperPanel a:visted {
display: block;
width: 100%;
text-align: center;
height: 40px;
font-size: 16px;
font-weight: bold;
margin: 12px 0;
}

zachsformacs95
09 Feb 2010, 04:10 PM
[comment deleted]