Initial commit
This commit is contained in:
33
css/Div tag float right.html
Normal file
33
css/Div tag float right.html
Normal file
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:subLang="en" subLang="en">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
<title>div tag float right</title>
|
||||
<style type="text/css">
|
||||
body {
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
color: pink;
|
||||
background-color: red;
|
||||
}
|
||||
|
||||
.mystyle {
|
||||
float: right;
|
||||
padding: 12px;
|
||||
margin: 8px;
|
||||
background-color: red;
|
||||
border: 1px solid gray;
|
||||
width: 15%;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="mystyle">Love is all we have, the only way that each can help the other. Euripides</div>
|
||||
<div class="mystyle">Love is all we have, the only way that each can help the other. Euripides</div>
|
||||
<div class="mystyle">Love is all we have, the only way that each can help the other. Euripides</div>
|
||||
<div class="mystyle">Love is all we have, the only way that each can help the other. Euripides</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user