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

Re: How to set a minwidth to a table

  • Subject: Re: How to set a minwidth to a table
  • From: Roy Schestowitz <newsgroups@xxxxxxxxxxxxxxx>
  • Date: Wed, 16 Nov 2005 03:36:34 +0000
  • Newsgroups: alt.html
  • Organization: schestowitz.com / MCC / Manchester University
  • References: <dle52k$2adn$1@news.imp.ch>
  • Reply-to: newsgroups@xxxxxxxxxxxxxxx
  • User-agent: KNode/0.7.2
__/ [Stefan Mueller] on Wednesday 16 November 2005 02:21 \__

> Is there any possibility to set a minwidth to a table so if you reduce the
> width of the browser window the page gets not smaller but that you get a
> horizontal scroll bar?
> 
> Stefan
> 
> ====================================
> 
> <html>
>   <body>
>     <table width = "100%" border = "0" align = "center">
>       <tr>
>         <td width = "50%">
>           Text left
>         </td>
> 
>         <td width = "50%" align = "right">
>           Text left
>         </td>
>       </tr>
>     </table>
>   </body>
> </html>
> 
> ====================================


I  think that the answer would be no -- there is no reserved mechanism for
doing  so. I suggest constructing a transparent PNG file which is, let  us
say,  800 pixels wide and 1 pixel in height. Put it somewhere in the table
and  assuming  you have no columns (cells), you should be fine.  In  fact,
putting  such  an element /outside/ the table would do the trick too,  re-
gardless of the spread of table cells.

Hope it helps,

Roy

-- 
Roy S. Schestowitz      |    It is no longer uncommon to be uncommon
http://Schestowitz.com  |    SuSE Linux     |     PGP-Key: 0x74572E8E
  3:30am  up 12 days 23:28,  4 users,  load average: 1.30, 0.82, 0.46
      http://iuron.com - next generation of search paradigms

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