posted 13 years ago
Dear All,
When i am viewing divs and their contents in browser, then all div's right alignment is coming OK. But during print preview, some of the div's right alignment is not coming properly.
Actually some of the div's right border is not aligned with other div's right border.
Why is it so? Can any one help me please?
Code is as follows.
<div id="name1"
style="position:absolute;left:492px;top:0px;
width:auto;height:auto;white-space:nowrap;
border-left-style:dashed;border-right-style:dashed;border-bottom-style:dashed;border-width:thin;">
<font face="Verdana" size="2pt" color="#000080" >
Prashant Mak
</font>
</div>
<div id="name2"
style="position:absolute;left:555px;top:20px;
width:auto;height:auto;white-space:nowrap;
border-left-style:dashed;border-right-style:dashed;border-bottom-style:dashed;border-width:thin;">
<font face="Verdana" size="2pt" color="#000080" >
Mak
</font>
</div>
<div id="name3"
style="position:absolute;left:547px;top:38px;
width:auto;height:auto;white-space:nowrap;
border-left-style:dashed;border-right-style:dashed;border-bottom-style:dashed;border-width:thin;">
<font face="Verdana" size="2pt" color="#000080" >
Shilpi
</font>
</div>
<div id="name4"
style="position:absolute;left:547px;top:58px;
width:auto;height:auto;white-space:nowrap;
border-left-style:dashed;border-right-style:dashed;border-bottom-style:dashed;border-width:thin;">
<font face="Verdana" size="2pt" color="#000080" >
Arora
</font>
</div>
Thanks.