Solved

want to set div height

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Convert a Master Page to HTML 16 60
Hovering effect 9 29
razorCMS: Change Menu Font 4 24
Wordpress CSS Link Issue 2 13
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
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 …
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…

708 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

13 Experts available now in Live!

Get 1:1 Help Now