This content has been marked as final.
Show 2 replies
-
1. Re: How do I create multi colored boxes using CSS3
Ben Pleysier Nov 19, 2012 5:23 AM (in response to whatalotofrubbish)First change the CSS as follows
.box {
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
font-size: small;
color: #F00;
text-align: center;
vertical-align: middle;
margin: 4px;
padding: 4px;
clear: none;
float: left;
height: 10em;
width: 30%;
position: relative;
border: thick solid #F00;
}
.yellow {
background-color: #FC3;
}
.blue {
background-color: blue;
}
Then use the following markup
<div class="box yellow">
or
<div class="box blue">
-
2. Re: How do I create multi colored boxes using CSS3
whatalotofrubbish Nov 19, 2012 7:13 AM (in response to Ben Pleysier)Thanks Gramps - works a treat.



