Welcome to WebmasterWorld Guest from 54.198.100.0

Forum Moderators: open

Message Too Old, No Replies

Another Dreamweaver question

text editing

     
10:24 pm on Sep 17, 2006 (gmt 0)

New User

joined:Sept 22, 2011
posts:38
votes: 0


When I type words in my page and hit enter, the next line goes down too

far. I believe it could be double spaced. Is there a way to change this?

10:44 pm on Sept 17, 2006 (gmt 0)

Preferred Member

10+ Year Member

joined:Feb 13, 2003
posts:590
votes: 0


DW wraps your text in paragraph tags when you hit enter. In standard HTML, browsers render paragraphs with a double-space between them.

The easiest thing is to simply type your text, and only hit enter when you want to start a new paragraph -- i.e., let the text flow as it wants to within its parent container, don't try to control the flow of the text by hitting enter.

If you actually want to change the amount of space between paragraphs, use css to change the padding and/or margins, for example:

p {
margin-bottom:0;
}

12:30 am on Sept 18, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 14, 2003
posts:1550
votes: 0


or if you just want a carriage return, hit shift and enter together this will create a line break - equivalent to the XHTML <br /> ( HTML <br> ) tag