Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: Table width blocking


Message #1 by "Ali Benzes" <alib@k...> on Thu, 28 Nov 2002 11:35:23 +0200
Ok.I like this.
Thanks Fabrice

******************************
=A0=A0=A0=A0=A0=A0=A0=A0 Best Regards
=A0=A0=A0 =A0=A0=A0=A0=A0 Ali Benzes
IT Developer&Programmer
******************************
=A0
=A0


-----Original Message-----
From: Fabrice vanderhaeghen [mailto:F_Vanderhaeghen@i...]
Sent: Thursday, November 28, 2002 8:39 PM
To: JavaScript HowTo
Subject: [javascript_howto] Re: Table width blocking

use css style table-layout:fixed or put a container like a span with
overflow style set to auto or into your TD and do your writing into it

something like this.

<table border=3D1 width=3D200px cellpadding=3D0 cellspacing=3D0>
<tr>
<td>
<span style=3D"width:100%; height:100%; overflow:hidden"
contenteditable=3Dtrue></span>
</td>
</tr>
</table>
</table>

PS: I just test this with IE, don't know for NN6


"Ali Benzes" <alib@k...> wrote in message
news:240044@j..._howto...
>
> Hi All.
> I want to make table's width blocking.
> I mean if I write into table table's width will'nt change.
> is it possible?
>
> ******************************
>          Best Regards
>           Ali Benzes
> IT Developer&Programmer
> ******************************
>
>
>
>
>
>





  Return to Index