Sir I am using these codes
<html>
<head>
<title>untitled</title>
<style type="text/css">
#boxA{
float:left;
}
#boxB{
float:left;
}
#boxC{
clear:left;
}
#boxD{
float:left;
}
#boxA, #boxB, #boxC, #boxD{
border:1px solid green;
text-align:center;
line-height:100px;
margin:10px;
width:100px;
height:100px;
}
</style>
</head>
<body>
<p>First Row</p>
<div id="boxA">Box A</div>
<div id="boxB">Box B</div>
<p>Second Row</p>
<div id="boxC">Box C</div>
<div id="boxD">Box D</div>
</body>
</html>
Now I want to get this result, shown in attachment.
Two dives in first row
Two dives in second row