Re: how to prevent unnecessary table resizing
- From: Neredbojias <neredbojias@xxxxxxxxxxxxxxx>
- Date: Thu, 4 Aug 2005 02:02:29 -0700
With neither quill nor qualm, Dominik Jain quothed:
> > What do you want it to do, break after the first soft line break? Is
> > the cell width fixed?
>
> Of course not. I want cell width to be automatic.
> What I want to avoid is the unnecessary spacing that results from the
> insertion of soft line breaks. (see second table)
Well, if I got this correctly now, the best way I can think of is to use
a regular expression to convert the soft l-bs in the second-table text
to spaces. This can be done with javascript or server-side scripting
like PHP.
A javascript example of converting all whitespace to spaces is:
var stt="second table text";
stt=stt.replace(/\W/," ");
--
Neredbojias
Contrary to popular belief, it is believable.
.
- Follow-Ups:
- Re: how to prevent unnecessary table resizing
- From: Dominik Jain
- Re: how to prevent unnecessary table resizing
- References:
- how to prevent unnecessary table resizing
- From: Dominik Jain
- Re: how to prevent unnecessary table resizing
- From: Dominik Jain
- Re: how to prevent unnecessary table resizing
- From: Neredbojias
- Re: how to prevent unnecessary table resizing
- From: Dominik Jain
- how to prevent unnecessary table resizing
- Prev by Date: Re: UTF-8 vs. iso-8859-1
- Next by Date: Re: CSS layout dilemma
- Previous by thread: Re: how to prevent unnecessary table resizing
- Next by thread: Re: how to prevent unnecessary table resizing
- Index(es):
Relevant Pages
|
Loading