views:

26

answers:

2

i am having one div, which contains one table. i want to apply the table-width to div element. My table cells having padding 5, so table width is not correct in IE browser, while the mozila the sample code works.

A: 

please paste the code.

Ramesh
+2  A: 

Have you tried setting table's width to 100% using CSS? This will automatically resize it to fit the parent div's width.

Sbm007