This problem is related to how i can show div with absolute
position regarding the div
, Not the page.
I have div#Div_Report
, Which has multiple page div#page1, div#page2,...
, And each page div has content with same css.
My problem is if i give absolute
position to page's div.Div_ClientName
, Then div#page2
data is overlapping to div#page1
.
I know this can easily fix by relative
position, But due to some reason i cant use relative
position.
So how we can set page content with in page div with absolute
position?
Here is my HTML:-
<div id="Div_Report">
<div id="page1">
<div class="Div_ClientName">Childrens Network - Hendry Glades</div>
</div>
<div id="page2">
<div class="Div_ClientName">Childrens Network - Hendry Glades</div>
</div>
</div>
CSS:-
.Div_ClientName{
top:180px;
}
.Div_ClientName{
position:absolute;
}
.Div_ClientName{
left: 175px;
}
#page2{
margin-top:200px
}