Reply to Re: Column width woes

Your name:

Reply:


Posted by Martin Jay on 06/08/06 16:56

In message <4er12pF1flh1gU1@individual.net>, Paul Lautman
<paul.lautman@btinternet.com> writes
>Below are 2 table definitions, the first with 3 columns and the second with
>2.
>
>Can anyone point me to the reason why the first column is being rendered
>with a different width in the 2 tables?

> <TABLE WIDTH="440" CELLPADDING="2" CELLSPACING="0" BORDER="1">
> <TR>
> <TD WIDTH="440" VALIGN=TOP>
> <P ALIGN=CENTER>
> <IMG SRC="images/title1.gif" WIDTH="400" HEIGHT="100" VSPACE="0"
>HSPACE="0" BORDER="0"></TD>
> <td 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>

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.
--
Martin Jay
Phone/SMS: +44 7740 191877
Fax: +44 870 915 2124

[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

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