Solved

want to set div height

Posted on 2011-03-02
5
192 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
  • 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

CSS3 Custom checkboxes This article shows how to style the checkbox form element using only CSS. Works in: Chrome, FF, Safari, Opera, IE9+ Uses modernizr.js to check for :checked pseudo class, falling back to plain old checkboxes (IE8 and bel…
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
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).

813 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now