What used to require complex tables and multiple graphics can now be done via CSS. It is possible to have borders, rounded corners and even drop-shadows. Only catch is that it doesn't work on IE.
Example:
.box-border {
background-color: #0000FF;
border-width: 2px;
border-color: #FF0000;
border-style: solid;
border-radius: 15px;
-moz-border-radius: 15px;
}
References:
Example:
.box-border {
background-color: #0000FF;
border-width: 2px;
border-color: #FF0000;
border-style: solid;
border-radius: 15px;
-moz-border-radius: 15px;
}
References:
No comments:
Post a Comment