Remove blue underline from link

0 votes

Having a link appear in white without underlining is what I'm trying to achieve. While the white text is displayed as intended, the blue underlining is obstinately present. Text-decoration: none and text-decoration: none were my attempts. Important: Remove the link underline in the CSS. Neither functioned.

.boxhead .otherPage {
  color: #FFFFFF;
  text-decoration: none;
}
<div class="boxhead">
  <h2>
    <span class="thisPage">Current Page</span>
    <a href="myLink"><span class="otherPage">Different Page</span></a>
  </h2>
</div>

How can I remove the blue underline from the link?

Jul 4 in CSS by Edureka
• 9,860 points
16 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In CSS

0 votes
0 answers
0 votes
1 answer

Position a CSS background image x pixels from the right?

The attribute border can be used as ...READ MORE

answered Jun 10 in CSS by Edureka
• 9,540 points
27 views
0 votes
1 answer

Google Chrome Update - Issue with copying code from Inspector CSS

You can disable it via the Settings > ...READ MORE

answered Jun 21 in CSS by Edureka
• 9,540 points
7 views
0 votes
1 answer

How to switch from tailwind CSS Play CDN to production build?

 you need to use build tools like webpack, Rollup, Vite, ...READ MORE

answered Jun 17 in CSS by Edureka
• 9,540 points
51 views
0 votes
1 answer

Downloading jQuery UI CSS from Google's CDN

If you mean the jQuery UI CSS, ...READ MORE

answered Jun 28 in CSS by Edureka
• 9,540 points
25 views
0 votes
0 answers

How to line-break from css, without using <br />?

How to achieve the same output without <br>? <p>hello ...READ MORE

Jul 22 in CSS by Edureka
• 9,860 points
9 views
0 votes
0 answers

Add target="_blank" in CSS

On my website, there are external links ...READ MORE

Jul 11 in CSS by Edureka
• 9,860 points
33 views
0 votes
2 answers

Define a SQL query? What is the difference between SELECT and UPDATE Query? How do you use SQL in SAS?

HI.. SQL is Structured Query Language, which is ...READ MORE

answered Aug 8, 2020 in PHP by anonymous
4,728 views
0 votes
1 answer

Using/Handling colon inside a JSF generated HTML element ID in CSS selector

Yes, you can.  Just Backslash (\) the colon.  Like ...READ MORE

answered Nov 14, 2018 in Others by DataKing99
• 8,240 points
1,701 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP