HighDots Forums  

Re: How to set space between text lines ?

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Re: How to set space between text lines ? in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Baxter
 
Posts: n/a

Default Re: How to set space between text lines ? - 11-19-2004 , 08:56 PM






When you hit Enter it starts a new <p> paragraph. If you need to space the
lines you can use <br> by using Shift then Enter or keep typing until it
goes to the next line.
Dave
"adrianTNT" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
How to set space between text lines ?
I have a text style in a css file, can I set the space between lines
here? or
do i need to set that generaly on whole page from page properties or
something ?

I am interested in that space that appears when text goes to next line by
itself while typing and there is another space when you press enter to go
to
next text line, those 2 spaces betwen lines have diferent sizes, how can i
set
them ?

Thanks.
Adrian.




Reply With Quote
  #2  
Old   
adrianTNT
 
Posts: n/a

Default Re: How to set space between text lines ? - 11-19-2004 , 09:10 PM






Thanks, that is very useful for me too but i also needed to know if there is a
way to set the space size in pixels or something because when i just press
enter the space is too big and with shift + enter text lines almost overlap,
can I set line space size by css ?

-Adrian.


Reply With Quote
  #3  
Old   
John Waller
 
Posts: n/a

Default Re: How to set space between text lines ? - 11-19-2004 , 10:55 PM



Quote:
can I set line space size by css ?
Yes. There are many online references and good books available to learn
this.

http://www.w3schools.com/css/pr_dim_line-height.asp

http://www.htmldog.com/reference/cssproperties/line-height/

http://www.amazon.com/exec/obidos/ASIN/0596005253/qid=1100922886/sr=2-1/ref=pd_ka_b_2_1/103-0937225-1207853

--
Regards

John Waller




Reply With Quote
  #4  
Old   
WoodyCarr
 
Posts: n/a

Default Re: How to set space between text lines ? - 11-19-2004 , 11:01 PM



You can use CSS.

p
{
line-height: 2.5em;
}

Change the value to whatever you need.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.