How can I make my site fill the browser height

C

Cal Who

How can I make my site fill the browser height.

As it is now it fills the browser's width. I repeat a 1-pixel vertical line
to fill-in the sides.

I put a border about the html and the body and I see they both end at the
bottom of my footer image.

I think I need to extend the body to the bottom of the browser.

I'd like to color the browser area below the footer to match my scheme.

Got any suggestions??


Thank
 
C

Cal Who

Cal Who said:
How can I make my site fill the browser height.

As it is now it fills the browser's width. I repeat a 1-pixel vertical
line to fill-in the sides.

I put a border about the html and the body and I see they both end at the
bottom of my footer image.

I think I need to extend the body to the bottom of the browser.

I'd like to color the browser area below the footer to match my scheme.

Got any suggestions??


Thank
Simple, (I think)
html {

height: 100%;

background-color:#c3d7ec;

}

or maybe



html, body {

height: 100%;

background-color:#c3d7ec;

}



Are these different.

One better than the other?
 
G

Guest

How can I make my site fill the browser height.

As it is now it fills the browser's width. I repeat a 1-pixel vertical line
to fill-in the sides.

I put a border about the html and the body and I see they both end at the
bottom of my footer image.

I think I need to extend the body to the bottom of the browser.

I'd like to color the browser area below the footer to match my scheme.

Got any suggestions??

Thank

For all elements like a table you can use javascript or css tricks
like it is explained here: http://apptools.com/examples/tableheight.php
 
C

Cal Who

How can I make my site fill the browser height.

As it is now it fills the browser's width. I repeat a 1-pixel vertical
line
to fill-in the sides.

I put a border about the html and the body and I see they both end at the
bottom of my footer image.

I think I need to extend the body to the bottom of the browser.

I'd like to color the browser area below the footer to match my scheme.

Got any suggestions??

Thank

For all elements like a table you can use javascript or css tricks
like it is explained here: http://apptools.com/examples/tableheight.php

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top