Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 376089
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T14:33:55+00:00 2026-05-12T14:33:55+00:00

In a webpage I’m building I use anchors for easy navigating. The styling of

  • 0

In a webpage I’m building I use anchors for easy navigating. The styling of these anchors in IE6 gives me some troubles.

<div class="text">
    <h3><a class="anchor" name="custom_name">Title</a></h3>
    Lorem ipsum <a href="otherpage.aspx">dolor</a> sit amet.
</div>

With this CSS:

.text 
{
    color: #000;
}

.text a[href] 
{
    color: #ea2026;  //red
}

.anchor, .anchor:hover
{
    color: #a9a18c;  //gray
    text-decoration: none;
}

In FF and IE7+, no problems. But in IE6, the links are white (as defined in the body selector) because it has issues with the .text a[href]. When I remove the [href] though, the anchors become red in all browsers (naturally). In firefox the hover still gives an effect, but not in IE.

Is there a way to style the anchors differently than the regular links in both FF and IE6? Obviously the class “anchor” doesn’t help much…

Edit – Sorry, this is what I want:
All regular links have to be red (the href’s). All the anchors have to be the h3 colour, gray. When I hover over a regular link it underlines, and a hover over one of the anchors should virtually change nothing.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T14:33:55+00:00Added an answer on May 12, 2026 at 2:33 pm

    Drop the “anchor” class… I think what you want is this:

    .text 
    {
        color: #000;
    }
    
    .text a
    {
        color: #ea2026; /*red*/
    }
    
    .text h3 a, .text h3 a:hover
    {
        color: #a9a18c; /*gray*/
        text-decoration: none;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a webpage including the following div: <div class='book_box'> <table border=0 cellspacing=0> <tr>
When my webpage is loading, I use javascript to detect which browser is visiting
The webpage has the following source (only copied the important part): <h1>Relatórios</h1> <div id=textmenu>
My webpage shows a list of 200 products. The user can use buttons to
I have a webpage with a div which contains several other divs WITHOUT an
This webpage can't show chinese character, Can I find a way to display these
I have this webpage which shows me some images and some images are on
I've created a webpage which is inherited from another class something like : class
I have a webpage like: <html> <head> . . . </head> <body> <div id=wrapper>
Webpage contains a link to a pdf (note the different domains). I can use

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.