Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

center div content css

/*
if selector has a width defined
*/
#line {
 width: 400px;
 margin-left: auto;
 margin-right: auto;
}
Source by www.freecodecamp.org #
 
PREVIOUS NEXT
Tagged: #center #div #content #css
ADD COMMENT
Topic
Name
3+1 =