newcoder1010 Posted November 18, 2017 Share Posted November 18, 2017 Hi, <div class="field field-name-field-step-no field-type-text field-label-hidden"> <div class="field-items"><div class="field-item even">1</div></div></div> .field-name-field-step-no { font-weight: bold; font-size: 46px; padding: 0; vertical-align: top; } https://drive.google.com/open?id=0B7xIEuVi005ydnFBUVJmY2hQRFk I still see some on top of the element. How can I vertically align to top? Link to comment Share on other sites More sharing options...
Ingolme Posted November 18, 2017 Share Posted November 18, 2017 Vertical-align only applies to inline elements, inline-blocks and table cells. If you want the "1" further up, try reducing the line-height. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now