Page 1 of 1

Spaces between lines; CSS/HTML problem (?)

Posted: Sun Feb 13, 2005 3:13 pm
by windwaker
Well, I have had a problem, where there are spaces between lines of text within certain tables on my site. These are visible when you highlight the text. Is there a way to fix this, or some CSS command I don't know?

Posted: Sun Feb 13, 2005 3:19 pm
by jonemo
you mean you want the highlighting-blue as one area of blue and not severeals, each for one line, right?

Then you should set line-height with css to the same value as font-size. but i think that looks a bit crappy, as the lines collide vertically then... what's the problem of having spaings between lines?

In case I got you wrong: can you give a link to such a wrong line spacing?

Posted: Sun Feb 13, 2005 3:29 pm
by windwaker
Image

That, versus something without a space between the text.

Thanks, I had never heard of line-height.