Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

center div absolute

#content {
  position: absolute; 
  left: 0; 
  right: 0; 
  margin-left: auto; 
  margin-right: auto; 
  width: 100px; /* Need a specific value to work */
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #center #div #absolute
ADD COMMENT
Topic
Name
4+1 =