views:

438

answers:

1

Hi, Im my web page there is a div with width 0 which has a left and right border of 1px width each.

In Firefox when I give the following code it holds the div with 50px width, but it happens to be 48px wide in IE7.

<div style="width: 48px; border: #a9a9a9 1px solid; height: 30px;">test div</div>

Can anyone help me resolving this issue?

Thanks in advance.

+1  A: 
SolutionYogi