Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Background is cutting off at the end of content

Tags:

css

I'm working on a website to showcase my photography and I'm styling it now. Unfortunately it seems the background gradient I have made cuts off once the content finishes.

See here: http://shutterfoc.us/PoloroidGallery/nature.html

I can't seem to think of why it's doing this, although it seems it should be pretty obvious.

Any ideas?

like image 727
MoDFoX Avatar asked Feb 20 '11 19:02

MoDFoX


1 Answers

Do this:

html {
    min-height:100%;
}

body {
    height:100%;
}
like image 182
Alec Gorge Avatar answered Nov 15 '22 10:11

Alec Gorge