Killersites.com Homepage Welcome Guest   |   Register  |  Login
Login Name Password
  Search  
  Index  | Recent Threads  | Unanswered Threads  | Who's Online  | User List  | Help


Quick Go »

No member browsing this thread
Thread Status: Active
Total posts in this thread: 2
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 18188 times and has 1 reply Next Thread
Male FatTony1037
Advanced Member
Member's Avatar

USA/London
Joined: Jan 18, 2004
Post Count: 197
Status: Offline
Reply to this Post  Reply with Quote 
Double Spacing in CSS

Hi,

I am programming my first CSS Page, and I was wondering how you can make text double space itself...? Preferibly, I would like to make it that whenever the computer reads the <p> tag, it will automatically double-space the text line...

I hope this makes sense...Thanks,

Sincerely,
Joe

[Feb 5, 2004 6:43:38 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male davidmead
Advanced Member
Member's Avatar

USA
Joined: Jul 21, 2003
Post Count: 749
Status: Offline
Reply to this Post  Reply with Quote 
Re: Double Spacing in CSS

If you mean double the spacing between the lines of a paragraph then you can use this:

p { line-height: 2em; }

but if you want the actual letters to be double spaced you can use this:

p { letter-spacing: 2em; }

Hope this helps :-)

Dave
----------------------------------------
Building quality, affordable web sites worldwide - DMWebsites.com
[Feb 5, 2004 7:56:47 PM] Show Printable Version of Post    View Member Profile    Send Private Message    CheersFromDave [Link] Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread