Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: table/cell contents postioning question?

__/ [Geoff Cox] on Saturday 03 September 2005 11:27 \__

> Hello,
> 
> I have a table like the one below and use JavaScrip to change the
> contents of the 1st and 3rd cells in the first row.
> 
> 
> <table>
> 
> <tr>
> <td width = "20%" valign="top">varying number of words</td>
> <td width = "60%" align="center" valign="top">image</td>
> <td width = "20%" valign="top">varying number of words</td>
> </tr>
> 
> <tr>
> <td colspan="3" align="center" valign="top">a button</td>
> </tr>
> 
> </table>
> 
> At the moment the position of the button moves as the number of words
> changes in the cells above.
> 
> Is it possible to keep the position of the button the same relative to
> the words and image above?
> 
> Cheers
> 
> Geoff

I suggest that you specify and force a fixed size for the 1st and 3rd cells
(be kind to small/narrow displays). The size should be large enough to
accommodate the longest string of text that is may contain. I don't see
another way at the moment.

Roy

-- 
Roy S. Schestowitz      | $> unzip; ping; mount /usr; grep; umount& sleep
http://Schestowitz.com  |    SuSE Linux    |     PGP-Key: 74572E8E
  5:35pm  up 10 days  5:46,  5 users,  load average: 0.16, 0.27, 0.30

[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index