Avatar of BR
BRFlag for Türkiye

asked on 

css hover color for a certain link

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 ;
  }
HTMLCSSPHP

Avatar of undefined
Last Comment
Ray Paseur
ASKER CERTIFIED SOLUTION
Avatar of Ray Paseur
Ray Paseur
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Scott Fell
Scott Fell
Flag of United States of America image

Just place the style content you have now below any css files you have.
Avatar of BR
BR
Flag of Türkiye image

ASKER

thank you very much
Avatar of Ray Paseur
Ray Paseur
Flag of United States of America image

Glad to help.  Thanks for the points, ~Ray
PHP
PHP

PHP is a widely-used server-side scripting language especially suited for web development, powering tens of millions of sites from Facebook to personal WordPress blogs. PHP is often paired with the MySQL relational database, but includes support for most other mainstream databases. By utilizing different Server APIs, PHP can work on many different web servers as a server-side scripting language.

125K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo