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


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

Recommended Hosting

Number of Templates

Total Downloads

Daily Downloads (Avg)

Download Website Templates © 2020 - HTML Sitemap - Privacy Policy

Website Design by Derby Web Design