troubleshooting Question

css hover color for a certain link

Avatar of BR
BRFlag for Turkey asked on
CSSHTMLPHP
4 Comments1 Solution494 ViewsLast Modified:
Dear Experts,
I want to have a certain link with white color. But I have a website wide css

I have a css for my links like below..
a:link {text-decoration:none;}    /* unvisited link */
a:visited {text-decoration:none;} /* visited link */
a:hover {text-decoration:underline;}   /* mouse over link */
a:active {text-decoration:underline;}  /* selected link */

I want to have bardak css has a link with white color, the hover state must be white too..
how can I give css to a certain link while I have a web sitewide css a and hover state.. thank you

.bardak
{
      margin-top:0px;
      width:188px;
      height:30px;
      border:1px solid #ccc;
      border-top-left-radius:10px;
      border-top-right-radius:0px;
      border-bottom-right-radius:0px;
      border-bottom-left-radius:0px;
      font-size: 24px;
      font-family: Calibri;
      font-weight: bold;
      text-align: center;
      background-color:#F79920;
      
      }
      
a.bardak hover {
  color: fff ;
  }
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 4 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros