rootKID Posted April 6, 2013 Share Posted April 6, 2013 Hello, not sure if it's this board i should ask (html)...but tell me if im wrong. i have seemed on some few site's im comming on sometimes, that they have some sort of div-box that follows the screen all the time, evem if you scroll down on the page. is it possible to do this?.. i mean, how to do this in css/html.. is it possible?, or DO i need Jquery/Javascript or wtf i now need? Oo.. i just think it would be a smart thing to have on my own website ... Link to comment Share on other sites More sharing options...
dsonesuk Posted April 6, 2013 Share Posted April 6, 2013 ?? As in a position: fixed; div box, permanently fixed at specific location. Link to comment Share on other sites More sharing options...
rootKID Posted April 6, 2013 Author Share Posted April 6, 2013 (edited) i get the point with the fixed position.. but where to put the div then?..just outside where body tag starts?.. or inside?.. coz i need it to follow the screen at all time, even when they scroll down X)... EDIT: got it fixed, thanks alot! X).. now, a new and probably last question, what if i wished it to stay at the bottom of the screen in the browser?... ideas?... Edited April 6, 2013 by rootKID Link to comment Share on other sites More sharing options...
dsonesuk Posted April 6, 2013 Share Posted April 6, 2013 what do you think properties bottom: top: left: right: are used for?? Link to comment Share on other sites More sharing options...
rootKID Posted April 6, 2013 Author Share Posted April 6, 2013 haha, oops.. my bad ^^'... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now