HighDots Forums  

justify text in <textarea>?

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss justify text in <textarea>? in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Chamomile
 
Posts: n/a

Default justify text in <textarea>? - 07-08-2005 , 12:34 PM






does anyone know if its possible to full-justfy text in a <textarea>?
I can do left and right justify and center with a simple style declaration,
but can't find
any reference anywhere to a full justify as can be done in a regular <td>
for example.



Reply With Quote
  #2  
Old   
Jukka K. Korpela
 
Posts: n/a

Default Re: justify text in <textarea>? - 07-08-2005 , 02:17 PM






"Chamomile" <newsgroups (AT) chamomile (DOT) co.uk> wrote:

Quote:
does anyone know if its possible to full-justfy text in a
textarea>?
It might be possible to achieve such perversions.

Quote:
I can do left and right justify and center with a
simple style declaration,
but can't find
any reference anywhere to a full justify
On the

--
Yucca, http://www.cs.tut.fi/~jkorpela/


Reply With Quote
  #3  
Old   
Jukka K. Korpela
 
Posts: n/a

Default Re: justify text in <textarea>? - 07-08-2005 , 02:20 PM



"Chamomile" <newsgroups (AT) chamomile (DOT) co.uk> wrote:

Quote:
does anyone know if its possible to full-justfy text in a <textarea>?
It might be possible to achieve such perversions.

By definition, <textarea> is an element for multi-line user input. What
could possibly justify the idea of justifying the input, and what would
this really mean (in the process of typing input)?

Quote:
I can do left and right justify and center with a
simple style declaration, but can't find any reference anywhere to a
full justify
On the technical side, it's pretty simple: text-align: justify would do
if it were supported by browsers, but its implementation is confused,
buggy, and odd.

--
Yucca, http://www.cs.tut.fi/~jkorpela/


Reply With Quote
  #4  
Old   
Chamomile
 
Posts: n/a

Default Re: justify text in <textarea>? - 07-09-2005 , 05:14 AM



"Jukka K. Korpela" <jkorpela (AT) cs (DOT) tut.fi> wrote

Quote:
"Chamomile" <newsgroups (AT) chamomile (DOT) co.uk> wrote:

does anyone know if its possible to full-justfy text in a <textarea>?

It might be possible to achieve such perversions.

By definition, <textarea> is an element for multi-line user input. What
could possibly justify the idea of justifying the input, and what would
this really mean (in the process of typing input)?

I can do left and right justify and center with a
simple style declaration, but can't find any reference anywhere to a
full justify

On the technical side, it's pretty simple: text-align: justify would do
if it were supported by browsers, but its implementation is confused,
buggy, and odd.

--
Yucca, http://www.cs.tut.fi/~jkorpela/

well, it's not exactly a perversion!
I'm trying to make things more comfortable for my users...
I take your point about typing in - justifying 'live' input might be a
process too far
although the <textarea> doesn't mind handling left , right or center
justification on the fly.

The problem has arisen trying to layout a page for web editing in an admin
<form>
as near to the actual (table) rendered public layout as possible.

The layout is stored in a backend database along with the data (text ,
pictures)
that can be updated from the <form> in question.
The 'public' layout allows formatting the text in left, right, center and
justified mode
so I would like to present the editable text to the admin user as closely as
possible to
the final look of the public page.

The 'text-align:justify' thing doesn't work unfortunately.
Any other ideas?





Reply With Quote
  #5  
Old   
Tim
 
Posts: n/a

Default Re: justify text in <textarea>? - 07-10-2005 , 04:41 AM



On Sat, 9 Jul 2005 09:14:42 +0000 (UTC),
"Chamomile" <newsgroups (AT) chamomile (DOT) co.uk> posted:

Quote:
well, it's not exactly a perversion!
I'm trying to make things more comfortable for my users...
How would be "more comfortable" for users if what they type into the box
changes as they go along? What you're suggesting is contrary to how every
other text area will work in every other page and browser.

Quote:
The problem has arisen trying to layout a page for web editing in an admin
form> as near to the actual (table) rendered public layout as possible.
There's no such thing as WYSIWYG in HTML. Attempting it will just mislead
people.

--
If you insist on e-mailing me, use the reply-to address (it's real but
temporary). But please reply to the group, like you're supposed to.

This message was sent without a virus, please delete some files yourself.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.