tags:

views:

39

answers:

0

Hi,

In a Web page I'm using a div which contains a table inside it. I have made overflow property of this div to be auto. When a vertical scroll bar appears different behaviours are being shown by IE7 and IE8.

In IE7 scollbar does not use div's width, but in IE8 scrollbar uses some width of div. Due to this, when I assign width of the table to be some percentage of div's width, table's width is set to different values in IE7 and IE8.

Due to this right side of my table seems more distant to scrollbar in IE7 than in IE8. I want the page to look the same in both browsers.

Is there a way to do this?

Regards, Abhishek Jain