Use line-height:50px;
instead of height. That should do the trick 😉
More Related Contents:
- How can i change the icon color to some other color in CSS?
- Unable to scroll on website
- Why not use tables for layout in HTML? [closed]
- CSS margin terror; Margin adds space outside parent element [duplicate]
- How do I auto-resize an image to fit a ‘div’ container?
- How can I position my div at the bottom of its container?
- Make CSS Hover state remain after “unhovering”
- How to make a HTML Page in A4 paper size page(s)?
- How do I not underline an element in a link?
- Best Practices & Considerations when writing HTML Emails [closed]
- How create table only using tag and Css
- CSS Single-column layout centered fixed-width 100% height w header and footer
- How can I correctly select the first or the last child with CSS?
- Add border-bottom to table row
- How to set maximum height for table-cell?
- Chrome rendering issue. Fixed position anchor with UL in body
- Change last letter color
- Center image element in parent div
- Height of flex container not working properly in Safari
- Overlapping/overlaying multiple inline images
- HTML ordered list 1.1, 1.2 (Nested counters and scope) not working
- Can you use CSS to mirror/flip text?
- Fallback background-image if default doesn’t exist
- Is there a way to get a textarea to stretch to fit its content without using PHP or JavaScript?
- How do I change the font-size of an element within ?
- Ticks for type=”range” HTML input
- Styling autocomplete dropdowns in browsers
- align images side by side in html
- Removing the Bevel Effect on the Corner of Borders
- CSS class starting with number is not getting applied