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 8398037
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T20:56:06+00:00 2026-06-09T20:56:06+00:00

I experienced, that if I set a specific p tags font-size to let’s say

  • 0

I experienced, that if I set a specific p tags font-size to let’s say 55px the actual element which contains the font is smaller than the font itself.

Therefor the font is overlapping the elements above.
Of course I can set some padding there, but why is the – i call it ‘imaginary’ object, because it’s just made by my browser – not getting the same size as the content – in this case the font?
By the way, this ‘imaginary’ container has always the same height. does not matter if the p-text has a size of 12px or 55px. In my case this height is always 15px…

thanks for hints about this matter.

cheers

  • 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-09T20:56:07+00:00Added an answer on June 9, 2026 at 8:56 pm

    try to reduce line-height:

    .imaginary {
        font-size: 18px;
        line-height: 18px;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Before saying anything I have to say that, albeit I'm an experienced programmer in
Before I start, I should let you know that I'm hardly experienced in PHP.
This question is for experiences programmers. Do you have a set process that you
I need help on regex or preg_match because I am not that experienced yet
Premise Hi, I received multiple reports from a Redis user that experienced server crashes,
I've experienced a couple of days ago, that a problem with the name of
I am an experienced WinForms/WPF/Silverlight developer and have an interview for a product that
I have experienced Zend Framework 1 and I've build some apps with that framework.
I have a set of png images that I would like to process with
How can I display certain image in a post if that post contains a

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.