[thelist] Odd tables

L. Floyd lfloyd at sonic.net
Sat Jan 13 19:30:31 CST 2001


Ya know, if I had just read the manual a little more carefully, I would
have figured out why the align=right busted things!  Thanks for the
tips!

- larry

rudy wrote:
> 
> hi l
> 
> yeah, align=right for tables is intended to flow stuff around it, just like
> images
> 
> blockquote is yucky, but it does work, although the indentation isn't
> anywhere near the 20% you seem to want, and it also indents on the right
> hand side, not sure if this is a necessary part of your design
> 
> here are two more ideas
> 
> put the 80% table inside a right-aligned div --
> 
>   <div align=right>
>   <table width=80% border=1 cellspacing=0 cellpadding=2>
>    <tr>
>    <td>Some stuff two!</td>
>    </tr>
>   </table>
>   </div>
> 
> or use a nested table inside a width=100% table --
> 
>   <table width=100% border=0 cellspacing=0 cellpadding=0>
>   <tr><td width=20%></td>
>   <td width=80%><table border=1 cellspacing=0 cellpadding=2>
>    <tr>
>    <td>Some stuff two!</td>
>    </tr>
>   </table></td></tr></table>
> 
> notice you wouldn't need to nest a table if you didn't need the border
> 
> rudy.ca




More information about the thelist mailing list