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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T19:09:26+00:00 2026-06-03T19:09:26+00:00

Quick question. Does anyone know for a work-arround or fix for my problem: The

  • 0

Quick question.

Does anyone know for a work-arround or fix for my problem:
enter image description here

The issue is that because of the line-height on the paragraph the start and bottom of the paragraph have some white space. In the example given above it’s about 4px. But I do not want to edit my margins on other elements. For example, 40px margin would be 36px.

So does anyone know a good workarround for this?
I did find the css pseudoelement first-line: http://reference.sitepoint.com/css/pseudoelement-firstline

  • 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-03T19:09:34+00:00Added an answer on June 3, 2026 at 7:09 pm

    I would approach this problem differently thank looking for a last line pseudo element.

    If you are going to have some more content after the paragraph you can style this to move upwards closer to the last line of text.

    For an idea of what i mean please see here -> http://jsfiddle.net/Z9LG9/1/

    In response to your comment saying “keeping your style sheets as clean as possible” should you not be looking at creating a functional style sheet over a nice looking one? You can always clean up the style sheet after the build phase.

    You are going to need to use negative margin for this. There is no way around it that will be cross browser capable.

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

Sidebar

Related Questions

Just a quick question, does anyone know if there are restrictions on creating Performance
Quick question. Does anyone know how to get the function pointer of an objective
Good Morning, Quick CSS question. Does anyone know any quick css to make an
Quick question. Does anyone know if there is a way you can disable the
Just a quick question, does anyone know how to use regexpr with \$ ?
Quick question, does anyone know how to programatically make the text in the textField
Question: Does anyone have a quick way for removing all the extra resources in
Quick question... Does anybody know which version of Visual Studio 2010 contains the full
I'm not a pro- at javascript, so I had a quick question, does anyone
Quick question! Does putting a clear element INSIDE a floated div do anything? Like:

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.