|
|
| Incorrect | Correct |
|---|---|
.ex1a {
background: url(images/discTriF0.gif);
width : 9px;
height : 9px;
}
|
.ex1b {
background: url(images/discTriF0.gif);
width : 9px;
height : 9px;
overflow : hidden;
}
|
| Incorrect | correct |
|---|---|
|
|
|
.ex2a {
width : 10px;
height : 10px;
margin-left : 10px;
background : #FF0000;
float : left;
}
|
.ex2b {
width : 10px;
height : 10px;
margin-left : 10px;
background : #FF0000;
float : left;
display : inline;
}
|
| Border and width on same div | Border on outer div | border on inner div |
|
|
|
.ex3back {
width : 20px;
height : 20px;
background : #FF0000;
}
.ex3border {
width : 20px;
height : 20px;
border : 5px solid #00FFFF;
}