On Sun, 2 Jan 2005 18:49:06 +0100, Juergen Donnerstag wrote:

>why do you need to remove the table-tag if width=100%, if table
>width="80%" is acceptable for you. Are you concerned about the extra
>html tag in your output?

        The problem is two-fold. Lets look at this sample HTML. I am
fudging this by hand so please excuse any typos:

<table>
<tr>
<td>
<table width="100%" border="0">
<tr>
<td>
text inside table
</td>
</tr>
</table>
<tr>
<td>
text outside table
</td>
</tr>
</table>

        So:

1) The problem is that the text inside the double nested table will be
offset by a few more pixels than the text inside only one table. That
is, <table> will *always* steal pixels away even if you mean for it not
to.

2) Stripping away unnecessary HTML would be good for financial reasons
:)

Gili



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to