when i minimize the broweser its moving over green color <html>
<title>HTML5</title>
<head>
<style type="text/css">
body{margin-left:10%;
margin-right:10%}
#sec1{
position:relative;
margin-right:10%;
}
#sec1Ar1
{
position:absolute;
background-color:green;
height:200px;
width:300px;
}
#sec1Ar2
{
right:0px;
position:absolute;
background-color:Gray;
height:200px;
width:300px;
}
</style>
</head>
<body>
<header>
<img src="img1.jpg" width="200px" height="150px"/>
</header>
<section id ="sec1">
<article id="sec1Ar1">ar 1 sec1</article>
<article id="sec1Ar2">ar 2 sec 1</article>
</section>
<section></section>
</body>
</html>
ar 1 sec1ar 2 sec 1
...
Go to the complete details ...