Realmac Software

Welcome guest, please Login or Register

   

CSS spacing help

Avatar
Rank
Rank
Rank

Total Posts: 98

Joined Jan 2008

PM

 

I created some content in textedit, then exported to html. I added the CSS from the export along with the content itself. Looks great, but I need the content line spacing to be 1.5.  Here is the code text edit created:

p.p1 {margin0.0px 0.0px 0.0px 0.0pxfont13.0px Georgia}
    p
.p2 {margin0.0px 0.0px 0.0px 0.0pxfont13.0px Georgiamin-height15.0px}
    span
.Apple-tab-span {white-space:pre}
    ul
.ul1 {list-style-typedisc} 

how do I get the line spacing to = 1.5?

thanks in advance

Avatar
Rank
Rank
Rank
Rank
Rank
Rank
Rank
Rank

Total Posts: 3607

Joined Jul 2006

PM

 

Hello.

Just add the following into the CSS mix:

line-height1.5em

Best
John

Avatar
Rank
Rank
Rank

Total Posts: 98

Joined Jan 2008

PM

 

thanks, John. I tried that earlier and for some reason it didn’t work. I think it may have been conflicting with some other CSS on the page. Anyway, I found an easy work-around that seems to be working well.  Thanks again

Avatar
Rank
Rank
Rank
Rank
Rank

Total Posts: 325

Joined Nov 2008

PM

 

Thank you John!

THX Mani

I think the world would be a much happier and safer place without IE ...

Follow me on Twitter