![]() |
Change a link color in a div inside a css file
Hi,
Inside my css file for a html page I have this text that I need help } /* Sidebar Left -----------------------------------------------------------------------------*/ #sideLeft { float: left; width: 112px; margin-left: -100%; position: relative; background: #4DA1D4; font-size: 14px; padding: 0px 5px 0px 5px; font: 18px Calibri, Arial, Tahoma, Verdana, sans-serif; How do I control links here like a:link {color:#FF0000;} /* unvisited link */ a:visited {color:#00FF00;} /* visited link */ a:hover {color:#FF00FF;} /* mouse over link */ a:active {color:#0000FF;} /* selected link */ for this Code:
<div class="sidebar" id="sideLeft">} Thank you, David |
The wip webpage for this is
http://bardejov.org/index-1-15-13-v3.html |
Target them as
Code:
#sideleft a:active |
#sideLeft a:link {color:#FF0000;} /* unvisited link */
#sideLeft a:visited {color:#00FF00;} /* visited link */ #sideLeft a:hover {color:#FF00FF;} /* mouse over link */ #sideLeft a:active {color:#0000FF;} /* selected link */ |
Thanks for the fix.
|
| All times are GMT +1. The time now is 01:47 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.