Jump to content

Auto-line-wrap of long lines creates space gap despite very small line-height?


Recommended Posts

Posted (edited)

Occasionally I have web pages with a very long line (e.g. the URL of (another) web page).

This very long line is automatically cut and the remaining part automatically wrapped into the next line.

Good so far.

Unfortunately the browser creates a space gap (of e.g.3 pixels) between the first and the second line. The CSS show for this text

urltagline {  font-size: 15px; line-height: 15px; }

Even if I reduce brutally the line-height to a much small value like:

urltagline {  font-size: 15px; line-height: 10px; }

the space gap remains.

Why?

How can I reduce the space gap to 1 pixel (or even to no empty pixel row between them)?

 

Edited by pstein
  • pstein changed the title to Auto-line-wrap of long lines creates space gap despite very small line-height?

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...