website templates, download web templates for free

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 using Krystal Hosting

Use the code DWTCODE at checkout to help us and also receive £5 credit back

Get Hosting - Use code DWTCODE

Share This Page

Help us increase our exposure by sharing us across social media:



Number of Templates

Total Downloads

Daily Downloads (Avg)