Okay, I have the content area of my Wordpress blog theme I'm creating. I want the content area to at least have a height of 600px, but if more content comes then I would like the height to change to what ever is necessary. So 600px automatically, but continue expanding if more content can't fit in the 600px.
Joe34
0
Junior Poster in Training
Recommended Answers
Jump to PostThere is a property called 'min-height' but it doesn't work in IE8 or 7 and below.
You can set that property in your css like,
#content { other properties; min-height: 600px; }
Then you can use jquery if you really want to support old IE
Jump to PostPlus the min-height works in IE6 and below
I wasn't aware of that. When I created my district page, that wasn't true for some reason.
All 5 Replies
zizuno
0
Junior Poster in Training
Joe34
0
Junior Poster in Training
Joe34
0
Junior Poster in Training
Flynox
0
Newbie Poster
zizuno
0
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.