Basic question about line spacing

message from neophyte weaver on 18 Jul 2004
It seems to me that the default line spacing in Dreamweaver is something in the neighborhood of 200%. Is there a way to adjust line spacing, and make lines closer together?
Thanks,

George
 
:. Nadia .: replied to neophyte weaver on 19 Jul 2004
You can redefine the margins for a <p> tag if you want to vary the spacing.
http://www.tizag.com/cssT/margin.php
 
James Shook replied to :. Nadia .: on 19 Jul 2004
Also investigate the CSS property "line-spacing" for controlling the
space between lines in a given structure, like <p>.
 
A.H.O. replied to neophyte weaver on 18 Jul 2004
Ive noticed that myself...try pressing the shift and enter button at the same time (for PC). MACs I couldnt tell you. but SHIFT/ENTER at the same time will start a new line without a space.
 
Alan replied to neophyte weaver on 18 Jul 2004
pressing the Enter or Return key inserts a <P> paragraph html tag.
pressing shift+Enter inserts a <BR> linebreak html tag.

note- don't insert a hard linebreak <br> tag unless you really want a new
line. html text reflows depending on space allowed- a bunch of hard breaks
could wrap in the wrong places in some people's browsers making the text
look odd and choppy.
 
neophyte weaver replied to Alan on 19 Jul 2004
Thanks for the info, I am using a MAC, and I don't know diddly squat about html code. But I'll try some key combos to get the line break.
 
:. Nadia .: replied to neophyte weaver on 19 Jul 2004
As was mentioned though, it is not the correct way to do things. Using
multiple instances of <br> single spacing, can cause your page to break out
of the intended design on certain platforms. Have a look at my reply to you
about redefining the margin on the <p> tag. You will have to get your feet
wet with delving into the html code at some point. Otherwise, you will find
yourself in all sorts of bother without any way out :-)
 

Archived message: Basic question about line spacing (Macromedia Dreamweaver Web Design)