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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T14:29:30+00:00 2026-05-25T14:29:30+00:00

I have a css-problem I really don’t seem to understand :) I have been

  • 0

I have a css-problem I really don’t seem to understand 🙂 I have been styling css for three years now, but I’ve never had this problem.

I have declared some styles in my css-file that should apply for the content of my page. This is generally the right css, but there are some exceptions, like the page_child_title. I was under the impression that if I declared a style further in my css for specific classes, these would override earlier css-declarations. well now, in this case, it is not true. When I inspect with firebug, it seems that my browser really wants to use the font-size-css of “.page a” instead of using the “.page_child_title” (and I for one do not agree with my browser). The color of “.page_child_title” is applied correctly however. Below you can find the Html and css I’m talking about.

Html

<div id="page" class="page Jobs">
    <div class="page_child">
        <a class="page_child_title" ...

Style.css

.page p, .page ul, .page a {
    font-size: 10px;
    text-align: justify;
}
style.css (line 208)


.page_child_title {
    color: #006633;
    font-size: 12px;
}
style.css (line 262)

I have already tried replacing “.page_child_title” with “.Jobs a” but this didn’t work. Then I tried declaring “.page_child_title” before “.page a”, same result, so now I’m kind of stuck. Does anyone know what could be causing this problem?

  • 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-25T14:29:31+00:00Added an answer on May 25, 2026 at 2:29 pm

    It would seem to me that selecting an element by its type rather than classname would be more specific.

    Try changing .page_child_title to a.page_child_title

    Example.

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

Sidebar

Related Questions

i need to do something with some CSS but i really don't know how.
I have a problem using a given CSS file I don't want to change.
I really don't know if it's a Netbeans issue but here's the problem: In
I have an annoying CSS layout problem. I'm trying to float images on a
I've some CSS problem in Firefox 3. I have several image buttons on my
I have a problem with my CSS on a website I'm working on .
I have a problem with the CSS of the datepicker, I downloaded a default
I have a strange problem working with HTML,CSS in different browsers: Firefox 3.6 and
Here is the problem: we have lots of Javascripts and lots of CSS files,
I am using CSS rounded corners for firefox and I have the following problem

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.