homepage Welcome to WebmasterWorld Guest from 23.20.28.193
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
Forum Library, Charter, Moderator: open

WYSIWYG and Text Code Editors Forum

    
Another Dreamweaver question
text editing
Bubzeebub




msg:3086765
 10:24 pm on Sep 17, 2006 (gmt 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?

 

sonjay




msg:3086785
 10:44 pm on Sep 17, 2006 (gmt 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;
}

le_gber




msg:3086851
 12:30 am on Sep 18, 2006 (gmt 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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved