Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Standard Paragraph Spacing in DW?
Old 05-20-2009, 05:06 PM Standard Paragraph Spacing in DW?
Novice Talker

Posts: 12
Name: Webb
Location: Virginia
Trades: 0
Somehow on my site, which I've been editting with Dreamweaver, pressing enter to start a new paragraph jumps down to the next line like it does in Microsoft Word, instead of jumping down a little extra to start a new paragraph the way it's supposed to look. To get that break between paragraphs, I've just been pressing enter twice. It might look something like this:

HTML Code:
     <p>Hello everyone!</p>
     <p>&nbsp;</p>
     <p>Next paragraph, blah blah blah</p>
What's going on here? I thought simply doing

HTML Code:
     <p>Hello everyone!</p>
     <p>Next paragraph, blah blah blah</p>
would give that horizontal space between paragraphs by default, when in reality it will just start on the very next line down when I do it that way.
__________________
My name is Webb. Oh, the irony.


Please login or register to view this content. Registration is FREE
- (It's just a baby)
Webb is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-20-2009, 05:27 PM Re: Standard Paragraph Spacing in DW?
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
It depends on how the paragraphs are styled.
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 05-20-2009, 05:36 PM Re: Standard Paragraph Spacing in DW?
Novice Talker

Posts: 12
Name: Webb
Location: Virginia
Trades: 0
That must be it. I wasn't thinking that the style sheet would affect that, but of course it would.

Thanks.
__________________
My name is Webb. Oh, the irony.


Please login or register to view this content. Registration is FREE
- (It's just a baby)
Webb is offline
Reply With Quote
View Public Profile
 
Old 05-20-2009, 11:39 PM Re: Standard Paragraph Spacing in DW?
Experienced Talker

Posts: 47
Name: Bryan Williamz
Trades: 0
Better approach is not to use unwanted &nbsp;
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

cdesignz is offline
Reply With Quote
View Public Profile
 
Old 05-21-2009, 12:26 AM Re: Standard Paragraph Spacing in DW?
Super Moderator

Posts: 1,584
Location: Kokkola, Finland
Trades: 1
Quote:
Originally Posted by cdesignz View Post
Better approach is not to use unwanted &nbsp;
those only came because the op was having to put them in to get the spacing because they didn't realise that their css was controlling the spacing. i'm sure they'll be removing them once they've modified their css
davemies is online now
Reply With Quote
View Public Profile Visit davemies's homepage!
 
Old 05-21-2009, 02:00 AM Re: Standard Paragraph Spacing in DW?
francis84's Avatar
Super Spam Talker

Posts: 931
Trades: 0
HTML Code:
<p>Paragraph 1 blah blah blah</p>
<br>
<p>Paragraph 2 blah blah blah</p>
Here is much better code.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Last edited by francis84; 05-21-2009 at 02:21 AM..
francis84 is offline
Reply With Quote
View Public Profile Visit francis84's homepage!
 
Old 05-21-2009, 02:05 AM Re: Standard Paragraph Spacing in DW?
Super Moderator

Posts: 1,584
Location: Kokkola, Finland
Trades: 1
Quote:
Originally Posted by francis84 View Post
Hello everyone!

</br> Next paragraph, blah blah blah
nope.

that inserts a line break
you need <p> for a new paragraph

(hint: line <br>reak. <p>aragraph. easy, huh?!
davemies is online now
Reply With Quote
View Public Profile Visit davemies's homepage!
 
Old 05-21-2009, 09:44 AM Re: Standard Paragraph Spacing in DW?
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Agreed, adding line breaks (<br>'s) is NOT the proper way to achieve spacing. The spacing should be handled in the CSS with margins and/or padding and line-height.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Standard Paragraph Spacing in DW?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB 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.38443 seconds with 12 queries