Reply to Re: Column width woes

Your name:

Reply:


Posted by Paul Lautman on 06/09/06 10:59

Martin Jay wrote:
>
> Browsers will shuffle the contents of tables around to try and get
> them to fit.
>
> In the example you posted you've given the second table a width of
> 440px, and the first column of that table same width. That doesn't
> leave any room of the second column, so browsers will shrink the first
> column to try and make room for the second.

OK I can see that I cocked up when trying to simplify the table before
posting. The same problem happens with the pair below, even though I have
got the widths correct this time. How do I specify that I want the widths as
I ask for them?

<TABLE WIDTH="740" CELLPADDING="2" CELLSPACING="0" BORDER="1">
<TR>
<TD WIDTH="440" VALIGN=TOP ALIGN=CENTER>
<IMG SRC="images/title1.gif" WIDTH="400" HEIGHT="100" VSPACE="0"
HSPACE="0" BORDER="0">
</TD>
<td width="100" style="visibility:visible"><A HREF="mail.htm"><IMG
SRC="images/mail.gif" WIDTH="123" HEIGHT="62" VSPACE="0" HSPACE="0"
BORDER="0"></A>
</td>
<td width=200">&nbsp;</td>
</TR>
</table>

<TABLE WIDTH="540" CELLPADDING="2" CELLSPACING="0" BORDER="1">
<TR>
<TD WIDTH="440" VALIGN=TOP ALIGN=CENTER>
<IMG SRC="images/title1.gif" WIDTH="400" HEIGHT="100" VSPACE="0"
HSPACE="0" BORDER="0">
</TD>
<td width="100" style="visibility:visible">
<A HREF="mail.htm"><IMG SRC="images/mail.gif" WIDTH="123" HEIGHT="62"
VSPACE="0" HSPACE="0" BORDER="0"></A>
</td>
</TR>
</table>

[Back to original 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

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