471,605 Members | 1,573 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,605 software developers and data experts.

column width irritation ...

39
Hi everyone,

I have a table which, in order to line up with other information, needs to have very exact column widths.

So far I have implemented the following with normal HTML tables ...

<td align="RIGHT" width="77">

... which works OK most of the time.

However, sometimes the data contained in the table overshoots the column width and the table starts to 'distort'.

So my question is whether there is a way to make the column widths 'absolute' thereby suppressing any changes caused by querks in the data?

Maybe this has something to do with the declared table width ...

<TABLE width="999" border="1" ALIGN="LEFT">

... or should I leave out a declared table width when the colum widths are specifically declared?

Many thanks for any tips you can give me.

Regards,
Alan Searle
Oct 11 '07 #1
1 1440
dlite922
1,584 Expert 1GB
I don't know what you're talking about, perhaps post your entire code?

this worked fine for me....

Expand|Select|Wrap|Line Numbers
  1.  
  2.  
  3. <table width="100px">
  4.  <tr>
  5.   <td style="overflow:hidden ">This content stretches over 100 pixels but wraps to next line</td>
  6.  </tr>
  7. </table>
  8.  
  9.  
Feb 24 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by Ian | last post: by
17 posts views Thread by Mike Fellows | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by MichaelMortimer | last post: by
reply views Thread by CCCYYYY | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.