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 7502021
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T20:43:44+00:00 2026-05-29T20:43:44+00:00

in the process of updating my html to html5, i noticed that the inheritance

  • 0

in the process of updating my html to html5, i noticed that the inheritance behaved a bit strange. i’m not sure why links in the ul li lists have matched css rules with blocks that have nothing to do with it.

enter image description here
eg in screenshot 1 (aside), it takes over styles from the footer (but out of the screenshot also from role=navigation)

enter image description here
in screenshot 2 (footer), it takes of styles from the aside (and also from the screenshot also from role=navigation)

why does it do so?

  • 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-29T20:43:46+00:00Added an answer on May 29, 2026 at 8:43 pm

    In you first screenshot the css that gets applied is used on #footer #footerGrid ul li a, a:link,a:visited. By seperating this with comas you are having 3 different css selectors:

    • #footer #footerGrid ul li a
    • a:link
    • a:visited

    So this gets applied to the footer section, but also triggers on a:link and a:visited. And the same goes to your 2nd screenshot vice versa !

    documentation for that:

    • http://msdn.microsoft.com/en-us/library/aa358833%28v=vs.85%29.aspx

    Note When grouping selectors, remember that the comma starts an
    entirely new selector from the beginning.

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

Sidebar

Related Questions

Suppose I have a process that is updating a record and encounters a record
I have a command-line process that creates a PDF file from an HTML file
We have a process updating the database which uses the following SQL IF NOT
I'm in the process of updating a tool that uses a Lucene index. As
I'm currently in the process of updating a (lot of) old xsl+html code to
Now I have discovered Jquery I'm in the process of updating my site. Could
Alright not sure what to do and i am honestly bit lost. What I
I'm in the process of updating a program that fixes subtitles. Till now I
Sorry for the strange title, I'm not really sure how to classify this issue.
I'm in the process of updating a framework that I wrote a while ago.

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.