Hi, the "/classpath/" stuff is that ResourceServer that lift manages. You can simply add a "style" or "css" directory in "webapp" and add your own css there.
In your template, just make sure your css is loaded after screen.css. and for this question: "What if I have multiple text areas on one page but what them to be of different sizes? " Use an "ID" for each of them. You can set the ID in your snippet, like so: def foo(xhtml: NodeSeq): NodeSeq = { bind("d", xhtml, "wide" -> textarea("Junk text", bar = _) % ("ID" -> "wideText"), "narrow" -> textarea("Junk text", bar = _) % ("ID" -> "slimText")) } That help? On Mar 11, 2:10 pm, DavidV <david.v.villa...@gmail.com> wrote: > BlueprintCSS is indeed the CSS boss for my app. I'd like to add my > own style-sheet as Tyler suggested, however I can't seem to find the > screen.css file anywhere on my computer. The directory that it points > to (/classpath/blueprint/screen.css) does not exist in my project > directory. Any ideas on where this file is located or how I can go > about making my own style-sheet and where I should store it in my > project? > Thanks, > David > > On Mar 6, 2:48 pm, TylerWeir <tyler.w...@gmail.com> wrote: > > > > > blueprintCSS which is more than likely the CSS boss for your app > > definestextareastyle 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 > > >textareasize. > > > > 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 thetextareadoes 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 > > > > > thetextarea. > > > > > 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 thetextarea? 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 -~----------~----~----~----~------~----~------~--~---