Fri Jan 06, 2012 11:36 pm
<html>
<head>
<title>Change the background of div</title>
<style rel="stylesheet" type="text/css">
div.text {
font-family: Arial;
font-size: 16px;
font-weight: bold;
color: #FEF9ED;
border-top:2px solid #9E6E2E;
background-color: #E48E4B;
float:right;
line-height: 20px;
padding: 0 22px 0 12px;
margin-top: -4px;
}
</style>
</head>
<body>
<div class="text">
Changing the background of the div tag appears obviously,
</div>
</body>
</html>
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.