Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

my first div - fixed footer

Status
Not open for further replies.

nchan

Programmer
Jan 9, 2001
40
CA
Hi

I'm trying to learn CSS div's used this tutorial Questions about my results.

How do I make the the page fill the browser window, without the white border around the edges? Top, left and right margin:0px; doesn't seem to have any effect.

How do I make the footed in a fixed position so the content will scroll?

Thankyou.
 
body{
margin:0;
padding:0 0 100px 0;
}

Why does this work?

Thanks!
nchan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top