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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T03:05:21+00:00 2026-05-25T03:05:21+00:00

I have a 24 column page that is based on the 24 column 960

  • 0

I have a 24 column page that is based on the 24 column 960 template. I have an element that needs a specific with of 84px.

I tried to write the markup this way:
<div class="container_24 grid_84">
</div>

I tried writting the css this way:

.container_24 .grid_84  {  
    width:84px !important;  
}  

It is not setting to 84px it is setting to 960px.

What is the proper of displaying this.

  • 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-25T03:05:21+00:00Added an answer on May 25, 2026 at 3:05 am

    Your CSS has this:

    .container_24 .grid_84
    

    That is looking for an element with a class of grid_84 that is a CHILD of container_24.

    But you are actually looking for this in your HTML:

    .container_24.grid_84
    

    That is an element with both classes, which is what your HTML shows.

    Side advice:

    Don’t mix grid framework syntax with your own. 24 refers to column. Your 84 refers to specific pixels.

    I’d suggest using something along the lines of

    .override_84px
    

    So it’s clearly not part of the grid framework. Future people that have to look at your markup will thank you.

    Also, since you are making your element here, why even use the container_24 class in the first place?

    Finally, the !important declaration is usually a method of last resort to over-ride some existing CSS you have no control over of. You typcially do not want to be using that attribute with your own CSS as it’s usually a sign that things have gotten a bit messy.

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

Sidebar

Related Questions

I have column that contains strings. The strings in that column look like this:
I currently have an asp.net page, that takes in the data from this view
I have a page layout that is based on tables, and as much as
I have a .jsp page that displays a payment table with 4 columns. Based
I have a page that has 2 columns of words, 20 total, that are
I have a page where there is a column and a content div, somewhat
I have a page with 3 columns of links at the bottom. Each column
I have column with varchar values like 022008 that I need to convert into
I need a select from table which does not have column that tells when
I have a column of data that contains a percentage range as a string

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.