...

View Full Version : Force div bottom right



tomharto
08-11-2011, 10:04 PM
I need to make a div always appear in the bottom right of my screen, i currently have this


div.botright{
display:block;

/*set the div in the bottom right corner*/
position:absolute;
bottom:0;
right:0;
width:350px;

/*give it some background and border*/
background:#eee;
border:1px solid #ddd;
}


which send its there to start with, but if when i scroll down it moves up the page, how can i force the div to always be at the bottom even after scrolling?

Sammy12
08-11-2011, 10:18 PM
position: fixed should work

tomharto
08-11-2011, 10:19 PM
Genius, thank you :)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum