Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

overflow

#wrapper {
    width: 500px;
    border: 1px solid black;
    overflow: hidden; /* add this to contain floated children */
}
#first {
    width: 300px;
    float:left; /* add this */
    border: 1px solid red;
}
#second {
    border: 1px solid green;
    float: left; /* add this */
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #overflow
ADD COMMENT
Topic
Name
9+4 =