|
Posted by Dominik Jain on 08/10/05 15:44
Frogleg <frogleg@nowhere.com> wrote:
> I devised the following:
>
> <div style="width: 80%;">
>
> <table width="100%">
> (table 1)
> </table>
>
> <table width="100%">
> (table 2)
> </table>
>
> </div>
>
> Table 1 occupies the entire width of the <div> quite nicely, but...
> with IE, Table 2 occupies only about 80%(!) of the width
I cannot confirm this.
Using the code below, both tables have the full width:
<div style="width: 80%; border: 1px solid green;">
<table width="100%" border="1">
<tr><td>foo</td></tr>
</table>
<table width="100%" border="1">
<tr><td>bar</td></tr>
</table>
</div>
There might be something wrong with the way your tables are formatted
(perhaps you specified column widths that are in conflict with the 100%?).
bye,
--
Dominik Jain
http://home.cs.tum.edu/~jain
Navigation:
[Reply to this message]
|