blueprintCSS which is more than likely the CSS boss for your app
defines textarea style in screen.css.

I tend to add a dedicated stylesheet for just such an overriding-
required situation.

Tyler

On Mar 3, 5:05 pm, Derek Chen-Becker <dchenbec...@gmail.com> wrote:
> I agree with Joachim, this is most likely a CSS issue since we're seeing
> explicit "rows" and "cols" attributes on the element. If you get firebug and
> inspect the page with it, you should be able to see what is controlling the
> textarea size.
>
> Derek
>
> On Tue, Mar 3, 2009 at 3:29 PM, DavidV <david.v.villa...@gmail.com> wrote:
>
> > Here's the XHTML generated by the Firefox page source.  When I change
> > the values in my own code, they also change in the source, but the
> > size of the textarea does not change at all.
>
> >             </tr><tr>
> >      <td>Current Medication(s)</td>
> >      <td><textarea  name="F984808911835ROX"
> > lift:gc="F984808911835ROX" rows="3" cols="15"></textarea></td>
> >             </tr><tr>
> >      <td>Intended Medication(s)</td>
>
> >      <td><textarea  name="F984808911836ZOS"
> > lift:gc="F984808911836ZOS" rows="3" cols="15"></textarea></td>
> >             </tr><tr>
> >      <td>Comments</td>
> >      <td><textarea  name="F984808911837DS1"
> > lift:gc="F984808911837DS1" rows="3" cols="15"></textarea></td>
>
> > On Mar 3, 4:17 pm, "Joachim A." <wallaby.po...@googlemail.com> wrote:
> > > It might be the case that David has some css rules which change the size
> > of
> > > the textarea.
> > > It's easy to check in firebug or something similair to see what the
> > applied
> > > values are.
>
> > > Joachim
>
> > > > Can you post the generated XHTML for the textarea? I would want to
> > verify
> > > > that it's actually setting the attributes.
>
> > > > Derek
>
> > > > On Tue, Mar 3, 2009 at 2:08 PM, DavidV <david.v.villa...@gmail.com>
> > wrote:
> > > > > For some reason when I override the textareaRows and textareaCols
> > > > > methods in MappedTextarea, the size of the text block appears the
> > same
> > > > > in my web application no matter what size I assign to the rows and
> > > > > cols.  Does anyone know how to decrease the size of the blank text
> > > > > area that shows up on the webpage?
> > > > > Thanks,
> > > > > David
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to