You are here: Re: Inheriting what? « HTML « IT news, forums, messages
Re: Inheriting what?

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация