pstein Posted August 21 Posted August 21 (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 August 21 by pstein
dsonesuk Posted August 21 Posted August 21 Have you tried it with /* missing '.' maybe? */ .urltagline { font-size: 15px; line-height: 15px; margin: 0: padding: 0; }
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now