I would like to define specific colour to css element footer if there is link. How to do it?
Need help.
footer has css like:
PHP Code:
.footer {
text-align: center;
color: #F5CC8E;
font-size: 11px;
}
I would like to define specific colour to css element footer if there is link. How to do it?
Need help.
footer has css like:
PHP Code:
.footer {
text-align: center;
color: #F5CC8E;
font-size: 11px;
}
Use and see example:
it means if u have a link on the footer it will be #FFFFFF color (White) and bold with 11px font-size, no text decoration. The same for the visited link, but if you hover on the link, it will underline that link and change the font color to #000000 (Black).Code:.footer a, .footer a:visited { font-weight: bold; font-decoration: none; font-size: 11px; color: #ffffff; } .footer a:hover { font-weight: bold; font-decoration: underline; font-size: 11px; color: #000000; }
thanks it works
Is there any reason why examples can't follow good practice guidelines?
Where am I angry?Do not be angry with an example
Yes, but that doesn't mean that I, or anyone else, has to like it. Moreover, have you considered that the OP just wouldn't know that there might be a problem.how the link look is his choice.
Mike
Bookmarks