<style>
#product{
width:140px;
height:190px;
border:1px solid #CCC;
-moz-border-radius: 10px;
border-radius: 10px;
float:left;
margin-right:20px;
}
#product:hover{
width:140px;
height:190px;
border:1px solid #333;
-moz-border-radius: 10px;
border-radius: 10px;
}
#product .title{
color:#06C;
font-weight:bold;
text-align:center;
margin:3px;
}
#product img{
margin:5px 15%;
}
#product .price{
text-align:center;
margin-top:10px;
color:#06C;
}
</style>
<div id="product">
<div class="title">Camera</div>
<img src="images/canon-550d.gif" alt="Camera" />
<div class="price">$300</div>
</div>
<div id="product">
<div class="title">Camera</div>
<img src="images/canon-550d.gif" alt="Camera" />
<div class="price">$300</div>
</div>
<div id="product">
<div class="title">Camera</div>
<img src="images/canon-550d.gif" alt="Camera" />
<div class="price">$300</div>
</div>
#product img{
margin:5px 15%;
border-radius: 5px;
-moz-border-radius:5px;
-webkit-border-radius:5px
border:1px solid #999;
}
ASKER
ASKER
#product {
margin:5px 15%;
border-radius: 5px;
-moz-border-radius:5px;
-webkit-border-radius:5px
border:1px solid #999;
}
#product:hover{
width:140px;
height:190px;
border:1px solid #333;
-moz-border-radius: 10px;
border-radius: 10px;
}
#product .title{
color:#06C;
font-weight:bold;
text-align:center;
margin:3px;
}
#product img{
margin:5px 15%;
}
#product .price{
text-align:center;
margin-top:10px;
color:#06C;
}
</style>
<div id="product">
<div class="title">Camera</div>
<img src="images/canon-550d.gif" alt="Camera" />
<div class="price">$300</div>
</div>
<div id="product">
<div class="title">Camera</div>
<img src="images/canon-550d.gif" alt="Camera" />
<div class="price">$300</div>
</div>
<div id="product">
<div class="title">Camera</div>
<img src="images/canon-550d.gif" alt="Camera" />
<div class="price">$300</div>
</div>
ASKER
ASKER
ASKER
Cascading Style Sheets (CSS) is a language used for describing the look and formatting of a document written in a markup language. Usually used to change web pages and user interfaces written in HTML, it can also be applied to any kind of XML document. CSS is designed primarily to distinguish the content of a document from its presentation.
TRUSTED BY
For that I recommend PIE.htc.
http://css3pie.com/
Open in new window