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, 2022 in CSS by Edureka
• 13,620 points
575 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

Magento 2: How to remove styles-m.css from category and product page

How to delete the styles-l.css and styles-m.css ...READ MORE

Aug 18, 2022 in CSS by Edureka
• 13,620 points
668 views
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, 2022 in CSS by Edureka
• 12,690 points
930 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, 2022 in CSS by Edureka
• 12,690 points
391 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, 2022 in CSS by Edureka
• 12,690 points
2,144 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, 2022 in CSS by Edureka
• 12,690 points
905 views
0 votes
0 answers

Add target="_blank" in CSS

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

Jul 11, 2022 in CSS by Edureka
• 13,620 points
1,681 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
10,577 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,250 points
2,868 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP