Re: PHP/HTML table layout?

From: Date: Thu, 13 Mar 2003 16:08:24 +0000
Subject: Re: PHP/HTML table layout?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-139533@lists.php.net to get a copy of this message
I think you meant to send this to the list... :) - E "bev" <janeburns33@btopenworld.com> wrote: > Chris, I took off the "nowrap" (as all that dones is makes same line bigger...) > > I have the table cells defined as 250 pixels etc so thats fixed width but I can still type more into each cell as they keep streching, there must be a way of having fixed pixel based column. > > See below simply example that lets me type over the 100 pixel wide cell, have a look in any editor... > > <html> > <head> > </head> > <body> > > <table STYLE="table-layout:fixed" > border="1" cellpadding="0" cellspacing="0" > style="border-collapse: collapse" bordercolor="#0000FF" width="760"> > <tr> > <td width="740" height="400"> > <div align="left"> > <table border="0" cellpadding="0" cellspacing="0" > style="border- collapse: collapse" bordercolor="#111111" width="226"> > <tr> > <td width="100">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; abcdefghijklmnopqrstuvwxyz01234cccc567890666cccccccccccccccccccccccccccc ccccccccccccccccc6</td> > <td width="126">&nbsp;</td> > </tr> > <tr> > <td width="100">&nbsp;</td> > <td width="126">&nbsp;</td> > </tr> > </table> > </div> > </td> > </tr> > <tr> > <td width="600" height="400">&nbsp;</td> > </tr> > </table> > </body> > </html> > ----- Original Message ----- > From: - Edwin > To: Chris Hewitt > Cc: Bev ; php-general@lists.php.net > Sent: Thursday, March 13, 2003 2:37 PM > Subject: Re: [PHP] PHP/HTML table layout? > > > Chris Hewitt <g0pae@manordat.demon.co.uk> wrote: > > [snip] > > I'd suggest you consider not having fixed width cells. > [/snip] > > Good idea esp. if you can do better without having one. But sometimes, > you really just need to have one ;) > > - E > > __________________________________________________ > Do You Yahoo!? > Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/ > > > __________________________________________________ Do You Yahoo!? Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/

« previous php.general (#139533) next »