HomeReferencesCSS Properties

CSS Property: bottom

For absolutely positioned boxes, specifies how far from the bottom of the containing box (which is the first containing relatively positioned box or the page itself) the box should be.

For relatively positioned boxes, specifies how far from the bottom a box should be shifted.

HTML Dog, The Book HTML Dog book cover

HTML Dog is hosted by Titan Internet

Possible Values

  • [percentage]
  • [length]
  • inherit
  • auto (default)

Example


#justaveit {
	position: absolute;
	bottom: 2em;
}