<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<style type="text/css">
* .button {
width: 175px;
padding: 3px 10px;
margin: 20px 0;
text-align: center;
font-weight: bold;
margin-left: 50px;
line-height: normal;
}
* .button.rounded {
color: darkblue;
background-color: white;
line-height: 45px;
margin-top: 30px;
background: url("http://www.java2java.com/style/logo.png") no-repeat center
center;
}
</style>
</head>
<body>
<h1>Subclass Selector</h1>
<div>
<p class="button rounded">Rounded</p>
</div>
</body>
</html>
|