This code is inserted in the html box positioned at 0,0
<div style= "border:2px solid #8b0000;width:765;height:682px;position:absolute;l eft:2px;top:26px"></DIV>
The border height and width are correct in IE.
When using Firefox, the border height is 4 pixels too high and 4 pixels too wide. The x,y start point is correct.
It looks like Firefox is counting the pixels "inside" the border box, and IE is counting the pixels including the border. I say this because the Firefox 'error' increases if I increase the border width.
Can someone please give me a workaround, if my assumptions are correct.
Regards,
<div style= "border:2px solid #8b0000;width:765;height:682px;position:absolute;l eft:2px;top:26px"></DIV>
The border height and width are correct in IE.
When using Firefox, the border height is 4 pixels too high and 4 pixels too wide. The x,y start point is correct.
It looks like Firefox is counting the pixels "inside" the border box, and IE is counting the pixels including the border. I say this because the Firefox 'error' increases if I increase the border width.
Can someone please give me a workaround, if my assumptions are correct.
Regards,
Comment