44 lines
1.4 KiB
HTML
44 lines
1.4 KiB
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' xml:subLang='en'>
|
|
<head>
|
|
<title>Div Padding Margin Float Width Height</title>
|
|
<style type='text/css'>
|
|
div {
|
|
padding: 4px;
|
|
border-color: pink;
|
|
border-style: solid;
|
|
background: red;
|
|
margin: 4px;
|
|
float: left;
|
|
width: 250px;
|
|
height: 250px;
|
|
}
|
|
div#properties {
|
|
border-top-width: 3px;
|
|
border-right-width: 8px;
|
|
border-bottom-width: 8px;
|
|
border-left-width: 12px;
|
|
}
|
|
div#four {
|
|
border-width: 2px 8px 8px 10px;
|
|
}
|
|
div#three {
|
|
border-width: 6px 4px 12px;
|
|
}
|
|
div#two {
|
|
border-width: 12px 8px;
|
|
}
|
|
div#one {
|
|
border-width: 8px;
|
|
}
|
|
</style>
|
|
|
|
</head>
|
|
<body>
|
|
<div id='properties'>Love is the whole history of a woman's life, it is an episode in man's. Germaine De Stael </div>
|
|
<div id='four'>Love is the whole history of a woman's life, it is an episode in man's. Germaine De Stael </div>
|
|
<div id='three'>Love is the whole history of a woman's life, it is an episode in man's. Germaine De Stael </div>
|
|
<div id='two'>Love is the whole history of a woman's life, it is an episode in man's. Germaine De Stael </div>
|
|
<div id='one'>Love is the whole history of a woman's life, it is an episode in man's. Germaine De Stael </div>
|
|
</body>
|
|
</html> |