I think that the comment is wrong. Actually, the textarea width is not 
handled by web2py via js. Modern browsers, except IE, have a textarea 
resizable and so its width is calculated by browser itself. In this case in 
order to set a fixed width on all textareas you should set in your custom 
css

textarea {resize:none;}

Therefore, imho, your issue is due to other. If you post the interested 
code (html + css) we may help you.
 

Il giorno domenica 4 agosto 2013 06:50:45 UTC+2, davedigerati ha scritto:
>
> Actually, it is also set in the web2py_bootstrap.css line 105, which is 
> interesting, but not nearly as interesting as the comment ;)
>
> /* because web2py handles this via js */
> textarea { width:90%}
>
> soooooo, who knows the javascript well enough to say what is happening 
> here, and how we can regain overrideablility (lol that word is getting 
> worse by the post)
>
> On Saturday, August 3, 2013 9:57:34 AM UTC-4, Anthony wrote:
>>
>> Is this in the basic scaffolding app, or are you using custom CSS/JS? If 
>> that latter, it's hard to say without seeing any code. In the scaffolding 
>> app, the textarea width is set in bootstrap-responsive.min.css and should 
>> be overrideable.
>>
>> Anthony
>>
>> On Saturday, August 3, 2013 12:59:31 AM UTC-4, davedigerati wrote:
>>>
>>> I'm bumping up against this on a form as well, and puzzled why using a 
>>> custom/clean css sheet loaded last in the page header for precedence, with 
>>> unique divs/classes aren't working on the textareas... not for size, 
>>> background-color, text color, nothing.  I can target the row, the parent 
>>> divs, etc, but not the textareas themselves.
>>>
>>> Is the jquery overwriting/hard-coding style properties?  I am using 
>>> jqueryui but still would expect specificity to work.
>>>
>>> I really want to find a css solution...???
>>>
>>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to