Jump to content

How to vertically aligninginput text field to top ?


newcoder1010

Recommended Posts

Hello,

<input class="js-text-full text-full form-text form-element form-element--type-text form-element--api-textfield" data-drupal-selector="edit-field-other-features-0-value" type="text" id="edit-field-other-features-0-value" name="field_other_features[0][value]" value="Other features include: hot water, cooking stove, aircon, open kitchen, security system" size="60" maxlength="255" placeholder="">
 

CSS

input {
 height:100px;
 background: green;
 vertical-align: top;
}

Tried below as well but it did not work.

padding-top:0px

https://ibb.co/Fwsmgj2

 

How can I vertically align all the input text fields to top?

Edited by newcoder1010
Link to comment
Share on other sites

  • newcoder1010 changed the title to How to vertically aligninginput text field to top ?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...