Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

how to make the position of a div always stay while scrolling

/*in the css section simply set the position to fixed and then set the bottom
the width the height the right/left etc.

example

#hotbar4{
  width: 100px;
height: 100px;
background-color: gray;
position: fixed;
bottom: 0;
border: 10px solid black;
background-image: none;
right: 400px;
background-size: 100%;

}
 
PREVIOUS NEXT
Tagged: #position #div #stay #scrolling
ADD COMMENT
Topic
Name
5+2 =