balajim
balajim

Reputation:

How to get the my table size after applying css styles

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.

Upvotes: 0

Views: 126

Answers (1)

Waleed Amjad
Waleed Amjad

Reputation: 6808

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

Upvotes: 2

Related Questions