Spaces between lines; CSS/HTML problem (?)

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
windwaker
Forum Newbie
Posts: 21
Joined: Sun Feb 13, 2005 11:18 am

Spaces between lines; CSS/HTML problem (?)

Post 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?
jonemo
Forum Commoner
Posts: 28
Joined: Wed Feb 09, 2005 1:32 pm
Location: london, uk

Post 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?
windwaker
Forum Newbie
Posts: 21
Joined: Sun Feb 13, 2005 11:18 am

Post by windwaker »

Image

That, versus something without a space between the text.

Thanks, I had never heard of line-height.
Post Reply