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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T21:18:34+00:00 2026-06-14T21:18:34+00:00

Hi this is a quick css 101, I’m battling with aligning, maybe someone can

  • 0

Hi this is a quick css 101,
I’m battling with aligning, maybe someone can help

enter image description here

on another note, i’d like to ask :

  1. what is the correct way of thinking when
    building html divs – restricting div’s sizes upfront and overriden:hidden it’s contect -OR- letting the inner divs push the parent and hence sizing it.

  2. what measures are prefered for divs so it will fit best different resolutions?
    rems/precents?

Thanks.

  • 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-14T21:18:35+00:00Added an answer on June 14, 2026 at 9:18 pm

    the wrapper should be a container for the content

    <div id="wrapper"> 
    <div id="top"></div>
        <div id="content"><p>content here</p></div>
    </div>
    <div id="footerbg"></div>
    

    ​

    I made the footer snap to the bottom outside of the wrapper, if you want to move the top outside that is also fine but remember you will have to adjust the bottom padding to compensate for its height too.

    see jsFiddle here: http://jsfiddle.net/F577v/9/

    Answer to your QNs:

    1. dependent on the situation, I will always try allow for the content to size the div – but I make sure I have padding and margins to reflect design.

    2. I have always used px count for sizing and use media types in css to compensate for different resolutions

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

Sidebar

Related Questions

Can someone please help me understand why this code is not working? $('#quick-search-header.widget-title').css('background-image', 'url(dd_includes/images/icons/sliding-menu-arrow-right.gif)');
I need a quick help: I have a CSS like this: #ranking li span.awa
Just a quick question, can someone tell me where this is going wrong, I'm
My code looks like this: quickbarcolor = $(#quick-bar a).css(color); $(#quick-bar a).hover(function () { if
Just a quick one, hopefully. I've coded up this: <script> $(div.design-project).css('display', 'none'); function InsertContent(tid)
I've got a quick css questions that's bugging me, and I can't seem to
Just a quick simple question, this css code will not work in ie8 for
Quick Question: Anyone knows this? : http://lwis.net/free-css-drop-down-menu/ It uses javascript for -IE6 only, but
had a quick question. Let's say I create file stylesheet.css . In this file:
Okay, I am stumped on this one and need some quick help. I have

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.