Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

want to set div height

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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
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 receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Suggested Courses

670 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