![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| ||||
| ||||
|
|
I never was fond of scrollbars on textareas, so on textareas that could need to be very long (or not at all), I simple add a couple rows when needed. Been doing it for 4 or 5 years. As far as I know, I'm the only one that does that. |
|
No complaints so far. |
|
Anyway, 4 is far from sufficient for any normal textarea. Actually I find most textarea needs are far less than that. |
|
Aesthetics my boy. Edges should line up. Set a width for you form, either in % or pixels and the right edges should align. Just as the left do. |
#12
| |||
| |||
|
|
There's no "half-replaced element" concept in CSS, so any _partial_ support to CSS features for, say, <input> elements violates CSS specifications (or "specifications"). |
#13
| |||
| |||
|
|
Anyway, 4 is far from sufficient for any normal textarea. How would you like to use a word processor with a document canvas of that size? It's frustrating to see less than a paragraph of what you have written so far. Such a size is a message about the value assigned to user input by the form designer and about the amount of text expected. That is, it says: don't bother sending us anything that matters much. |
#14
| |||
| |||
|
|
Scripsit Ben C: [...] As far as the CSS 2.1 specification is concerned, buttons, textareas, etc., are replaced elements. You shouldn't expect to be able to style them with CSS properties at all, although most browsers do let you set a few things. A replaced element (what I strange term) is "an element whose content is outside the scope of the CSS formatting model", but are form fields replaced elements? The CSS 2.1 draft mentions, at http://www.w3.org/TR/CSS21/conform.h...placed-element images, embedded objects, and applets as examples of replaced elements. Form fields are not mentioned, even though they are surely more common than applets. |
|
We could say that an <input> element is a replaced element, so a browser need not and must not apply any CSS rules to its content (since that content is "outside the scope of the CSS formatting model"). But that's not what browsers generally do these days. They treat <input> as something with content that can be affected via CSS, and then they cannot claim that <input> is a replaced element. Thus, it becomes a matter of coverage of support: some properties are supported, some are not. There's no "half-replaced element" concept in CSS, so any _partial_ support to CSS features for, say, <input> elements violates CSS specifications (or "specifications"). |
#15
| |||
| |||
|
|
This vagueness reflects the fact that browsers have used built-in routines of underlying systems to implement form fields, |
#16
| ||||
| ||||
|
|
Scripsit Jeff: I never was fond of scrollbars on textareas, so on textareas that could need to be very long (or not at all), I simple add a couple rows when needed. Been doing it for 4 or 5 years. As far as I know, I'm the only one that does that. Now you're explaining something that you yourself characterize as unique, and later you're telling that you work with px dimensioned layout as so many others. Somehow this does not add up. |
|
No complaints so far. Web users don't complain. They just go away, or don't get the job done, or start hating the site. Anyway, 4 is far from sufficient for any normal textarea. Actually I find most textarea needs are far less than that. I'm speechless. See above. It's an insult to users to ask them to send feedback, or add any comments, and allocate the ridiculous four lines for it. |
|
Aesthetics my boy. Edges should line up. Set a width for you form, either in % or pixels and the right edges should align. Just as the left do. That's poor usability, since the lengths of fields don't act as clues any more. |
#17
| |||
| |||
|
|
Aesthetics my boy. Edges should line up. Set a width for you form, either in % or pixels and the right edges should align. Just as the left do. That's poor usability, since the lengths of fields don't act as clues any more. Well, I don't understand how you could come the end of a textarea and not know you were there. |
#18
| |||
| |||
|
|
Jukka K. Korpela wrote: This vagueness reflects the fact that browsers have used built-in routines of underlying systems to implement form fields, That seems only partially true, or more specifically, they may partially use built-in routines of underlying systems. Safari, for example, seems to ignore styling of submit buttons, but it doesn't just take the default styling of the O/S, either. The Windows version of Safari styles form fields unlike anything else in my whole system. Ditto Opera. |
#19
| |||
| |||
|
|
Bergamot wrote: Jukka K. Korpela wrote: This vagueness reflects the fact that browsers have used built-in routines of underlying systems to implement form fields, That seems only partially true, or more specifically, they may partially use built-in routines of underlying systems. Safari, for example, seems to ignore styling of submit buttons, but it doesn't just take the default styling of the O/S, either. The Windows version of Safari styles form fields unlike anything else in my whole system. Ditto Opera. FYI http://edmullen.net/temp/seamonkey_formbutton.jpg http://edmullen.net/temp/firefox_formbutton.jpg http://edmullen.net/temp/opera_formbutton.jpg http://edmullen.net/temp/safari_formbutton.jpg http://edmullen.net/temp/ie7_formbutton.jpg Interesting. |
|
If there is not relative font-size set, in both IE6 and IE7 form elements will be excluded for font (IE6) or screen (IE7) sizing on say Ctrl+ |
#20
| ||||
| ||||
|
|
Gazing into my crystal ball I observed Jeff <jeff (AT) spam_me_not (DOT) com writing in news:13quil41ko7r5ca (AT) corp (DOT) supernews.com: Aesthetics my boy. Edges should line up. Set a width for you form, either in % or pixels and the right edges should align. Just as the left do. That's poor usability, since the lengths of fields don't act as clues any more. Well, I don't understand how you could come the end of a textarea and not know you were there. Textareas don't have an end. That's why there have been many client side scripts written to a) alert the user how many characters have been entered, b) stop the user from inputting anymore characters. |
|
Input on the other hand, is different. If the author has put in maxlength="20" and size="50" (or styled it such), the user has no way of knowing the maximum length _before_ they start typing, the field just will not take anymore characters, and a) the user is confused b) the user has not noticed and has put in the wrong information. If I make a input element have maxlength, I set the size to be the same. |
|
If there is a textarea involved, say 50 cols, I usually set input element size to 50 also, so their widths are _about_ the same. But, in that situation, if a field's length is 40 characters, then I still set the input element's size to 40 and maxlength to 40. |
![]() |
| Thread Tools | |
| Display Modes | |
| |