Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

want to set div height

Posted on 2011-03-02
5
Medium Priority
?
198 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 2000 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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
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…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Suggested Courses

916 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