Solved

want to set div height

Posted on 2011-03-02
5
194 Views
Last Modified: 2012-05-11
want all div to be same height

so if there is not enough conent, there should be empty whitespace
0
Comment
Question by:rgb192
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 1

Expert Comment

by:reyntjensw
ID: 35020480
You could use min-height as a parameter.
0
 

Author Comment

by:rgb192
ID: 35020978
<div style="min-height:500px;">words</div>

works in ff3 but not ie8
0
 
LVL 1

Accepted Solution

by:
reyntjensw earned 500 total points
ID: 35021130
Try adding this line in css  height:auto;
0
 

Author Comment

by:rgb192
ID: 35021286
<div style="min-height:500px;height:auto;">words</div>

ff3 works

ie8 does not work
0
 

Author Closing Comment

by:rgb192
ID: 35217236
works in at least one browser, thanks
0

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to define a gradient in CSS. Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Gradient. Define the background as "linear-gradient(to right, #ee3668, black)". Ensure you …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question