Reply
Typing in Dreamweaver - skips 1 row?
Old 05-21-2006, 11:05 PM Typing in Dreamweaver - skips 1 row?
Skilled Talker

Posts: 62
Location: Australia
Whenever I type something within Dreamweaver and I press enter, it always leaves one line empty and goes to the next one. Is there a wey to be able to go down to the next line? (Like in MS Word)

Elite is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 05-22-2006, 10:43 AM Re: Typing in Dreamweaver - skips 1 row?
ExpressoDan's Avatar
Ultra Talker

Posts: 317
Name: This Space for Rent
Location: Georgia
Change the view to "split" so that you can see what the code is actually doing.
When you press the enter key, it creates a new paragraph or "<p>some text</p>"

Try pressing Shift + Enter, that will insert text like so: Some text<br>

Its always a good idea to learn what's going on behind the scenes, Dreamweaver isn't perfect.
__________________
Daniel
"I think therefore I am, I think." <!-- George Carlin
ExpressoDan is offline
Reply With Quote
View Public Profile Visit ExpressoDan's homepage!
 
Old 05-22-2006, 07:00 PM Re: Typing in Dreamweaver - skips 1 row?
finesse's Avatar
Average Talker

Posts: 26
Location: Brooklyn New York
As mentioned above you have to look at the code to see what actually happens when you hit enter. If you look at the code you should have only one "nbsp" tag representing the return. If you have two, remove one.
finesse is offline
Reply With Quote
View Public Profile Visit finesse's homepage!
 
Old 05-23-2006, 11:30 AM Re: Typing in Dreamweaver - skips 1 row?
ExpressoDan's Avatar
Ultra Talker

Posts: 317
Name: This Space for Rent
Location: Georgia
finesse, I think Elite was refering to makeing the text go to the next line, this can be acomplished with the <br> tag "&nbsp;" creates a space between words
__________________
Daniel
"I think therefore I am, I think." <!-- George Carlin
ExpressoDan is offline
Reply With Quote
View Public Profile Visit ExpressoDan's homepage!
 
Old 05-23-2006, 11:33 AM Re: Typing in Dreamweaver - skips 1 row?
LadynRed's Avatar
Super Moderator

Posts: 6,699
Location: Tennessee
There are also settings in the preferences where you can tell DW what you want it to do. DW by default does put in paragraphs when you hit the Enter key.

I would stay away from non-breaking spaces and slews of <br>'s... messy coding that can be mostly eliminated by using CSS to space out your content.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 05-29-2006, 01:16 AM Re: Typing in Dreamweaver - skips 1 row?
AMysticWeb's Avatar
Experienced Talker

Posts: 38
Have to admit I have never used DW, but FrontPage does the same thing. The way we bypass this is Shift+Enter. Not sure if DW will respond the same.
__________________
Stop by for FrontPage form tutorials
and form script examples. Mike
http://frontpageforms.com
AMysticWeb is offline
Reply With Quote
View Public Profile
 
Old 05-29-2006, 02:53 PM Re: Typing in Dreamweaver - skips 1 row?
finesse's Avatar
Average Talker

Posts: 26
Location: Brooklyn New York
How do you use CSS with dw? Why is it good at spacing out images and content?
finesse is offline
Reply With Quote
View Public Profile Visit finesse's homepage!
 
Old 05-29-2006, 04:10 PM Re: Typing in Dreamweaver - skips 1 row?
blue-dreamer's Avatar
Webmaster Talker

Posts: 719
Location: Middle England
Quote:
Originally Posted by finesse
How do you use CSS with dw? Why is it good at spacing out images and content?
CSS allows you to define, amongst other things, spacing between paragraphs and images. I don't use DW myself but read the DW help files for CSS or Style sheets.
blue-dreamer is offline
Reply With Quote
View Public Profile
 
Old 06-08-2006, 03:46 PM Re: Typing in Dreamweaver - skips 1 row?
Average Talker

Posts: 19
DW's probably not actually adding a line. It's just a big space between paragraphs.

In an application like Word, most people just hit Enter twice to give extra space between paragraphs. Instead of using the old typewriter-type spacing, one should set up styles. (You can do this, I think, from the Format > Styles menu in Frontpage, or in the CSS of DW).

Pay particular attention to the "Space before" and/or "Space After" settings. These are what add space between carriage returns. Adding more space between paragraphs than what exists between lines makes it easier to read.

If you want the spaces between lines to be the same, whether in the middle of or at the beginning of a paragraph, you can use SHIFT+ENTER. Keep in mind, though, that you can't apply paragraph formatting this way - it'll apply to your entire page. SHIFT+ENTER is designed to create line breaks within paragraphs - for the times when you don't want hyphenation, so you move text to the next line, though it's really not a paragraph change.

Within DW (and FP, I believe), the spacing is a lot larger in the editor than it is on the actual page. Preview it often.
sandrac is offline
Reply With Quote
View Public Profile
 
Old 06-30-2006, 08:07 AM Re: Typing in Dreamweaver - skips 1 row?
s_u_p_e_r_s_a_m's Avatar
Ultra Talker

Posts: 328
Location: Brisbane, Australia
Quote:
Originally Posted by AMysticWeb
Have to admit I have never used DW, but FrontPage does the same thing. The way we bypass this is Shift+Enter. Not sure if DW will respond the same.
Yeah i use fp to, but i am gunna switch to dw soon. lol
Another way in fp is; format -> Paragraph -> spacing. this lets you ajust the spacing before and after each word. Probably not the same in dw.
s_u_p_e_r_s_a_m is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Typing in Dreamweaver - skips 1 row?
 

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.15704 seconds with 12 queries