CSS Min Height Hack

I came across this snippet of CSS a few years ago and still use it so thought I’d share.

It’s a min-height hack that allows you to set a height then once content goes beyond that point the height increases to suit. It works well in all modern browsers too.

Credit to Dustin Diaz which is where I originally got this hack, trust me it works ūüôā

    min-height: 500px;
    height: auto !important;
    height: 500px;

Share this

 Back to Latest News

Recommended Tools

Create a free website with Wix.com. Customize with Wix's free website builder, no coding skills needed.

Recommended Hosting


All these templates are created as donationware, if you are going to use them in a commercial project or would like to contribute, please donate:


Looking for information about link removal? - Click Here

Number of Templates

Total Downloads

Daily Downloads (Avg)

Download Website Templates © 2018 - HTML Sitemap

Website Design by Derby Web Design