Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

center a dive within another div

#container {
    width: 640px; /* Can be in percentage also. */
    height: auto;
    margin: 0 auto;
    padding: 10px;
    position: relative;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #center #dive #div
ADD COMMENT
Topic
Name
3+2 =