|
Posted by Phil Powell on July 16, 2004, 5:01 pm
Please log in for more thread options
The customer made a wild request: they want on their admin panel a
textarea that will display an existing resume.
This textarea, however, must have a dynamic width, one that "fills the
screen width of any sized screen". Sorry but I cannot fathom how to
do this!
[CODE]
<textarea name="resume" cols="108" rows="29" wrap="physical><?=
$resume ?></textarea>
[/CODE]
How on earth do I do this? cols="???"
Is there either a client-side solution in HTML or Javascript, or will
I have to use a server-side solution in PHP? I'm completely stuck and
under a Monday AM deadline to come up with a solution.
Thanx
Phil
|
|
Posted by Eric B. Bednarz on July 17, 2004, 2:16 am
Please log in for more thread options
soazine@erols.com (Phil Powell) writes:
> This textarea, however, must have a dynamic width, one that "fills the
> screen width of any sized screen". Sorry but I cannot fathom how to
> do this!
textarea
{
width: 100%;
}
Follow-up set. See also:
<http://www.cs.tut.fi/~jkorpela/usenet/laws.html#law7>
--
| ) 111010111011 | http://bednarz.nl/ -(
| ) Distribute me: http://binaries.bednarz.nl/mp3/aicha
|
|
Posted by Phil Powell on July 19, 2004, 7:38 am
Please log in for more thread options > soazine@erols.com (Phil Powell) writes:
>
> > This textarea, however, must have a dynamic width, one that "fills the
> > screen width of any sized screen". Sorry but I cannot fathom how to
> > do this!
>
> textarea
> {
> width: 100%;
> }
>
>
> Follow-up set. See also:
>
> <http://www.cs.tut.fi/~jkorpela/usenet/laws.html#law7>
Completely failed in Mozilla Firefox 0.6, produces a textarea with "no
width" whatsoever (it looks like a super-skinny textarea).
Phil
|
|
Posted by Eric B. Bednarz on July 19, 2004, 6:50 pm
Please log in for more thread options soazine@erols.com (Phil Powell) writes:
>> textarea
>> {
>> width: 100%;
>> }
>>
>> Follow-up set. See also:
>>
>> <http://www.cs.tut.fi/~jkorpela/usenet/laws.html#law7> >
> Completely failed in Mozilla Firefox 0.6, produces a textarea with "no
> width" whatsoever (it looks like a super-skinny textarea).
There is a very trivial explanation for that: you did something wrong.
Besides the previous followup and URI reference, here's something more
you might enjoy to ignore:
<http://www.catb.org/~esr/faqs/smart-questions.html>
Crossposts trimmed, followup-to poster, EOD
--
| ) 111010111011 | http://bednarz.nl/ -(
| ) Distribute me: http://binaries.bednarz.nl/mp3/aicha
|
|
Posted by Thomas 'PointedEars' Lahn on July 24, 2004, 9:39 am
Please log in for more thread options Phil Powell wrote:
Please do not write attribution novels. Duplicating header information
other than the name of the previous poster(s) serves no greater good but
instead makes discussions less legible.
>> soazine@erols.com (Phil Powell) writes:
>>> This textarea, however, must have a dynamic width, one that "fills the
>>> screen width of any sized screen". Sorry but I cannot fathom how to
>>> do this!
>>
>> textarea
>> {
>> width: 100%;
>> }
>>
>>
>> Follow-up set. See also:
>>
>> <http://www.cs.tut.fi/~jkorpela/usenet/laws.html#law7> >
> Completely failed in Mozilla Firefox 0.6, produces a textarea with "no
> width" whatsoever (it looks like a super-skinny textarea).
Always W('d)FM, so you should post the relevant snippet along with
the exact Firefox version you have tested with (see Help, About ...;
0.9.x is current, BTW) to the *one* right newsgroup.
And have you even understood the document the above URL refers to?
Please learn how to avoid crossposting as Google Groups is incapable
of obeying Followup-To (i.e. setting the target newsgroup to the one
that was specified in the Followup-To header of the posting one
replies to). Or simply use newsreader software which allows you to
get rid of the other Google Groups' flaws. I recommend Mozilla
Thunderbird, see <http://www.mozilla.org/products/thunderbird/>.
Removed alt.* from the crosspost (do not crosspost over main
hierarchies!), X-Post & F'up2 comp.infosystems.www.authoring.stylesheets
PointedEars
|
| Similar Threads | Posted | | how to: a dynamic td width between static td widths? | February 7, 2005, 3:08 pm |
| fixing column width in a dynamic table | December 13, 2005, 8:56 am |
| Dynamic width of a text input field in a form | November 8, 2005, 6:35 am |
| Text alignment in | November 23, 2004, 10:05 am |
| ghost html button and textarea in css / dhtml - troubleshooting? | October 23, 2006, 11:11 am |
| ghost html button and textarea in css / dhtml - troubleshooting? | October 23, 2006, 11:11 am |
| e-commerce fax solution | November 1, 2006, 1:42 pm |
| DIV text vertical-align solution | January 23, 2005, 10:21 pm |
| help with Excel files - is mySQL a solution | March 11, 2005, 9:52 am |
| Preventing Image Download - a possible solution? | January 2, 2007, 10:35 pm |
|