Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

element not going to the bottom of the page

body{
  position: relative;
}

#element{
  position: absolute;
  bottom: 0;
}

/*if you don't set the body to position: relative, the element won't go to the
very bottom of the page and won't touch the border of the page*/
 
PREVIOUS NEXT
Tagged: #element #bottom #page
ADD COMMENT
Topic
Name
2+9 =