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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T12:19:47+00:00 2026-06-15T12:19:47+00:00

Title too vague? Here is an example: Html: <h1>Heading 1</h1> <h1 class=’header’>Heading 2</h1> CSS:

  • 0

Title too vague? Here is an example:

Html:

<h1>Heading 1</h1>
<h1 class='header'>Heading 2</h1>

CSS:

h1 {
font-size: 2px;
}

.header {
font: 12px;
}

On the website both Heading 1 and Heading 2 have a font-size of 2px. Why is this?
Is there a hierarchy that I do not know of? If so where can I read more about it? Because I have been looking but have no clue.

—EDIT—
Ok fist example was just an amazingly stupid typo…. Thank for the minus -1. And thanks for your answer dystroy, although that was just a pure coincidence that this happened in my example.

Therefore I will now give the real example and hopefully it is not again something trivial.

html:

<div class="container-fluid">
<div id="content" class="product-info">
<div class="product_overview_wrapper span-fluid250-overview product-info">
<h3 style="heading_price" id="heading_price_id">PRICE:</h3>
</div>
</div>
</div>

CSS:

.product_overview_wrapper h3 , .product_overview_wrapper p {
font-family: 'Ovo', serif;
font-size: 1.1em;
font-weight: lighter;
color: #363636;
margin-top: 19px;
line-height: normal;
}

.heading_price {
margin-top: 100px;
}

I styled h3 one time earlier as shown above. However my .heading_price style has no effect at all. I do not even see it in chrome when I check the elements… hope someone can help and this does not cost me points again 😉

  • 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-06-15T12:19:48+00:00Added an answer on June 15, 2026 at 12:19 pm

    Change

    .header {
    font: 12px;
    }
    

    to

    .header {
    font-size: 12px;
    }
    

    When you use font, it’s a shorthand and can’t be limited to just the size.

    See reference :

    There are few caveats when using the CSS font shorthand. If these
    conditions are not met, the property is invalid and is entirely
    ignored. Except when using a keyword, it is mandatory to define the
    value of both the font-size and the font-style properties.

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

Sidebar

Related Questions

I hope this isn't too vague a question, but here goes. I want to
Sorry for the vague title, the problem is too complex to summarize in a
I hope my title isn't too confusing. An example first. I have the following
I'm not too great with jquery and maybe this title doesn't explain too well
Horrible title I know, horrible question too. I'm working with a bit of software
Here is my class: class ManagementReview(object): Class describing ManagementReview Object. # Class attributes id
I apologize if the title is vague, but I'm not exactly how to title
I am having some issue here, and I am not too sure how to
Here's my model design: class Group(models.Model): name = models.CharField(max_length=30) ... class User(models.Model): name =
Not sure if the title is well put. Suggestions welcome. Here's what I want

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.