Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8092615
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T20:19:24+00:00 2026-06-05T20:19:24+00:00

Issue for text elements that are adjacent to icon elements, the glyph height is

  • 0

Issue

for text elements that are adjacent to icon elements, the glyph height is not aligned with the icon height. the text elements are styled by CSS with font-size: 20px; and have consistent width for all their instances.

here’s an illustration:

font problem

for the above case, the text should have the same height as the icon.

Motivation

finding a way to make the letters a bit taller to take up the available vertical space, while keeping the font-size as is. how to do that?

What have I tried?

to increase the font-size a bit, but came to conclusion i’ll have to compromise for a smaller icon if I can’t increase the letter height, thus the issue.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T20:19:26+00:00Added an answer on June 5, 2026 at 8:19 pm

    You can do it with css3 property Scale: (demo on dabblet.com)
    enter image description here

    HTML markup:

    <span class="lower">lower size</span>
    <span>normal size</span>
    <span class="taller">taller size</span>
    

    CSS:

    span {
        font-size: 20px;
        display: inline-block;
    }
    
    span.lower{ transform: scaleY(0.9); }
    span.taller { transform: scaleY(1.1); }
    

    Also, you can try to set various values of vertical-align for images in your case:
    sub, super, bottom, top, middle. This may help to solve your problem from another point.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have a small issue which my text field insist to inhert the CSS
I have a strange issue that has arisen recently: Whenever I enter text, even
I have a small issue with a method that should save the text contained
Possible Duplicate: How do I get this CSS text-decoration issue to work? I'm using
EDIT: I found that the issue is actually that IE changes an HTML elements
When I try to bottom-align text in a DIV element, I face the issue
Using 8.5.3 UP1 with the Hotfix for the multi-rich text control issue. I am
alt text http://www.mattdell.com/hostedfiles/flexchartissue.bmp I am having an issue where the chart labels on my
I am having an issue where only the text of the first TextView (eventItemTitle)
Im having an issue when im trying to read in a text file while

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.