i have a page where i have two div elements with different relative and fixed positioning.
<div class="outer1">
</div>
<div class="outer2">
</div>
and css is
.outer1{
width:50%;
height:500px;
background:red;
position:relative;
}
.outer2{
width:50%;
background:blue;
height:200px;
position:fixed;
}
But the problem is that the actual width of both the div elements is different. i have given width as 50% to both element then why there is difference in width.please help.