On 4 July 2010 11:51, jt.wang <woimo...@gmail.com> wrote:
> code is:<form id="dummy" action="/guestbook/" method="post">
>            <textarea name="content" id="dummy2" rows="2" cols="20"></
> textarea>
>            <div class="span-24 last"><input type="submit" value="Sign
> Guestbook"></div>
>          </form>
> i need rows is '2',but textarea rows always is about 17,it means 17 '/
> n',or, 17 'Enter'.
> i am new guy,so how can i get rows '2'??
> thanks!!
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Blueprint CSS" group.
> To post to this group, send email to blueprint...@googlegroups.com.
> To unsubscribe from this group, send email to 
> blueprintcss+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/blueprintcss?hl=en.
>
>

There are some styles applied to textarea in forms.css in Blueprint.
textarea      { width: 390px; height: 250px; padding:5px; }

You could override Blueprint styles and set your custom property.

textarea#dummy2 {height:2em}

If you give height in em's textarea should be two times the font-size
so it's approximately 2 rows worth of height..

-- 
You received this message because you are subscribed to the Google Groups 
"Blueprint CSS" group.
To post to this group, send email to blueprint...@googlegroups.com.
To unsubscribe from this group, send email to 
blueprintcss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/blueprintcss?hl=en.

Reply via email to