Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 200
  • Last Modified:

want to set div height

want all div to be same height

so if there is not enough conent, there should be empty whitespace
0
rgb192
Asked:
rgb192
  • 3
  • 2
1 Solution
 
reyntjenswCommented:
You could use min-height as a parameter.
0
 
rgb192Author Commented:
<div style="min-height:500px;">words</div>

works in ff3 but not ie8
0
 
reyntjenswCommented:
Try adding this line in css  height:auto;
0
 
rgb192Author Commented:
<div style="min-height:500px;height:auto;">words</div>

ff3 works

ie8 does not work
0
 
rgb192Author Commented:
works in at least one browser, thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now