newbie text question

message from David Prontnicki on 21 Jul 2004
dose anybody know why i get double spacing on my paragraphs?

Ex.

;aklsdjf;lkasjd;flkasd

lk;sajdf;lkajsd;flkajs;fkj

Instead of:

;lkfja;lskfjd;alksjdflkjsf
a;skldf;lkasjdf;lkajs;dlflaksdf
 
:. Nadia .: replied to David Prontnicki on 21 Jul 2004
That is the spacing you get when you hit the enter key. Using DW is not
like using a typewriter :),
If you want to change the spacing, change the margin settings on your <p>
tag.

eg:
put this in the head of your document, just before the </head> tag
(changing the 5px to suit)

<style type="text/css">
<!--
p {
margin:5px;
 
VBASP replied to :. Nadia .: on 20 Jul 2004
Alternatively you could just hit the shift/enter key if you did not want to
change the CSS for the project

":. Nadia .:" <nadia@no-junk=dreamweaverresources.com> wrote in message
news:cdkm32$o5i$1@forums.macromedia.com...
 
Joe Makowiec replied to VBASP on 21 Jul 2004
Bad advice. What that does is enter a line break tag <br />. That's
generally OK, but it can lead to problems with wrapping. Consider:

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam<br/>
nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam <br />
erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci <br />
tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo<br/>
consequat. Duis autem vel eum iriure dolor in hendrerit in <br />
vulputate velit esse molestie consequat, vel illum dolore eu <br />
feugiat nulla facilisis at vero eros et accumsan et iusto odio <br />
dignissim qui blandit praesent luptatum zzril delenit a...<br />

Nicely wrapped, looks good, etc, right? Now put that into a narrower
container:

Lorem ipsum dolor sit amet, consectetuer adipiscing elit,
sed diam <br />
nonummy nibh euismod tincidunt ut laoreet dolore magna
aliquam <br />
erat volutpat. Ut wisi enim ad minim veniam, quis nostrud
exerci <br />
tation ullamcorper suscipit lobortis nisl ut aliquip ex ea
commodo <br />
consequat. Duis autem vel eum iriure dolor in hendrerit in
<br />
vulputate velit esse molestie consequat, vel illum dolore
eu <br />
feugiat nulla facilisis at vero eros et accumsan et iusto
odio <br />
dignissim qui blandit praesent luptatum zzril delenit a...<br />

If you don't want your paragraphs (elements contained in <p></p> tags
to have space between them, the best way is to change their margins
using css.
 
:. Nadia .: replied to :. Nadia .: on 21 Jul 2004
You're welcome.
 

Archived message: newbie text question (Macromedia Dreamweaver)