CSS Line Spacing

admin

Administrator
Staff member
Hello,

On the site that I'm working on, the text is skipping a line! Example:


"This is an example line of text. This is an example line of text. This is

an example line of text. an example line of text. an example line of

text. This is an example line of text.This is an example line of text."


It should be:

"This is an example line of text.This is an example line of text.This is an example line of text.This is an example line of text.This is an example line of text.This is an example line of text."

As you see, its missing a line. Does any one know the CSS that will fix it?

I've tried:
{
line-height: 14pt
}


and variations of the distance, but it doesnt seem to work. Any suggestions?


NeilsonNot sure, but i think you need a semicolon(;) after 14pt.

If that doesn't work, make sure your class, or id is correct.

What browser are you testing in?Thanks,

I forgot about the ; !!

I'm testing in IE 6 but doesn't CSS work with all browsers??

NeilsonNo, see css support history (<!-- m --><a class="postlink" href="http://www.blooberry.com/indexdot/css/supportkey/syntax.htm">http://www.blooberry.com/indexdot/css/s ... syntax.htm</a><!-- m -->)wow! Learn somthing new every day! It appears from that link though, that the basic CSS functions such as font, sizing etc works accross most popular browsers.

Neilson
 
Back
Top