Jquery addClass() using vertical-align css property -
i have input box, pretty twitter (i using bootstrap). when pressing it, want expand, does. problem placeholder , input text start in middle. have tried several ways change without success:
$(this).css({"height":"80px","vertical-align":"top"});
addclass method
can me find solution?
thanks in advance!
vertical-align
doesn't work text inputs.. try setting padding instead. don't need set height either, use bottom padding force text top. if want multiple lines consider using textarea
instead.
$(this).css({"padding-bottom":"60px"});
Comments
Post a Comment