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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T14:34:44+00:00 2026-05-19T14:34:44+00:00

As I am designing a liquid layout all my width and height are in

  • 0

As I am designing a liquid layout all my width and height are in %. but while designing I have to see whats going on with my css so I gave height in pixels (temporarily) as that height (in %) will be filled from data from database.presently no database is designed. I cannot use pixels so i tried min-height property to see my css result.. but thats also not working.What sholud i do?

  • 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-19T14:34:45+00:00Added an answer on May 19, 2026 at 2:34 pm

    If you use a % height, the height is calculated in relation to its parent container. This often trips people up as the following cannot reasonably be calculated:

    <body>
        <div style="height: 100%;">Hello World</div>
    </body>
    

    We are asking the browser to render the div at “100%” – but the browser cannot apply this style as the body has no explicit height.

    To fix this, you need to give a height to the html and body, like this…

    html, body {
        height: 100%;
    }
    

    This now gives the div a height to work to – which will essentially equate to the size of the view port.

    This applies to height and min-height.

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

Sidebar

Related Questions

I have had a little experience with CSS but am always befuddled when I
Sometime back while designing something that included user management, I was required to have
When designing for layout and styling with CSS, it might be useful to add
I have designing my web page The page is run but value are not
While designing a table my colleague here says that I should avoid identity column
When designing user table what would be the must have fields from the security/user
Designing forms has always been fun, but getting them to send email on the
When designing a new Crystal Report you have to create a new database connection.
While designing a fairly simple backup system for Linux in python, I'm finding myself
While designing (and then implementing) a layered application: Is it correct to use the

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.