| 
 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"> </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>
 
  
Navigation:
[Reply to this message] 
 |