31 lines
678 B
HTML
31 lines
678 B
HTML
<!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>Combine The Style From Id And Class</title>
|
|
<style type="text/css">
|
|
* .z {
|
|
padding: 4px;
|
|
border: 4px solid blue;
|
|
}
|
|
|
|
#float {
|
|
width: 240px;
|
|
height: 80px;
|
|
}
|
|
|
|
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<div>The desire for possession is insatiable,<br>
|
|
to such a point that it can survive even love itself.<br>
|
|
To love, therefore, is to sterilize the person one loves.<br>
|
|
|
|
<div>Albert Camus
|
|
<div id="float" class="z">Sized Float</div>
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
</html> |