+ Reply to Thread
Results 1 to 2 of 2

Thread: change the vertical aligment of input type text

  1. #1
    Junior Member
    Join Date
    Jan 2012
    Posts
    16

    change the vertical aligment of input type text

    I have
    Code:
    <input type="text" class="date-input" value="Hello">?
    CSS
    Code:
    .date-input {     
        width: 145px;
        height:50px;            
    }?
    This yields to the text to be in the middle , but how can i vertically align it to
    the top left ?

  2. #2
    Junior Member
    Join Date
    Apr 2012
    Posts
    34
    You just need to do that inside CSS :
    Code:
    .date-input {     
        width: 145px;
        padding: 0 0 50px;
    }?

+ Reply to Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts