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

  • Home
  • SEARCH
  • 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 6816745
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T20:57:45+00:00 2026-05-26T20:57:45+00:00

Currently I am trying to implement my first HTML5 application, but I am having

  • 0

Currently I am trying to implement my first HTML5 application, but I am having some general issues regarding HTML/CSS, specially using header tag.

Usually I put the main tag at the beginning of the CSS rule, therefore I could control each property and to don’t mix any of them.

Right now I have this CSS code:

header div.followUs { float:right; font:Georgia, "Times New Roman", Times, serif;    color:#B2B2B2; font-style:italic }
header div.followUs a,a:link,a:active,a:visited { color:orange }

header nav { clear:right; float:right; margin-top:20px }
header nav ul li { float:left; margin-right: 25px; text-transform:uppercase; font-weight:bold }
header nav ul li:last-child { margin-right: 0 }
header nav ul li a { text-decoration:none }

And my HTML code is:

<header>
<div class="header-inner clearfix">
    <h1 class="logo">Client KickOff</h1>
    <div class="followUs">Segue-nos no <a href="#">Twitter</a> and <a href="#">Facebook</a>.</div>
    <nav>
        <ul>
            <li><a href="/html/">Notícias</a></li>
            <li><a href="/html5/">Quem Somos</a></li>
            <li><a href="/css/">Os Nossos Produtos</a></li>
            <li><a href="/css3/">O Nosso Portefólio</a></li>
            <li><a href="/js/">Contacte-nos!</a></li>
            </ul>
    </nav>
</div>
</header>

It is giving the same color as the div with the followUs class applied to the navigation items.

Any ideias?

  • 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-26T20:57:46+00:00Added an answer on May 26, 2026 at 8:57 pm
    header div.followUs a,a:link,a:active,a:visited { color:orange }
    

    will literally mean this:

    header div.followUs a { color: orange }
    a:link { color: orange }
    a:active { color: orange }
    a:visited { color: orange }
    

    So your links in the navigation are matching to the single a:link rule, since it is not specified to be within the header and followUs division.

    You need to have the header div.followUs in front of each of the a: selectors. Although, you should just remove the extra a: selectors because the initial header div.followUs a will already cover all forms.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been trying to implement unit testing and currently have some code that does
I'm trying to implement a mailing list system for my application. I'm currently using
I'm trying to implement my first Facebook application, and I'm stuck on the very
I am trying to implement some integration tests for my application to test a
I'm currently trying to implement some reporting functionality which requires me to transform some
First, some background: I am trying to implement a master-detail interface in Cocoa (for
I'm currently trying to implement SeekBarPreference class using http://android-journey.blogspot.com/2010/01/for-almost-any-application-we-need-to.html tutorial with RelativeLayout. First problem
I'm Erlang beginner and trying to implement my first Erlang application. It is a
I'm working on an MVC application and i'm trying to implement some validation. I've
All I am currently trying implement something along the lines of dim l_stuff as

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.