navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Free FrontPage Templates

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

Soft and Hard Returns

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Community >> OutFront Discoveries >> Soft and Hard Returns
Page: [1]
 
pageoneresults

 

Posts: 1001
From: Orange, CA USA
Status: offline

 
Soft and Hard Returns - 3/19/2002 1:57:07   
Shift + Enter

creates a <br> tag. Also referred to as a soft return.

Enter

creates a <p> tag. Also referred to as a hard return.

Note: Two <br><br>'s create a little less space than one <p>. I prefer to use the <br> when possible and minimize the use of <p> tags.

SEO Consultants Directory
http://www.seoconsultants.com
_gail

 

Posts: 2876
From: So FL
Status: offline

 
RE: Soft and Hard Returns - 3/20/2002 11:53:48   
Hi again!

Have been wondering about this. Related questions (which go back to some of what we spoke about in the Tables in Netscape thread), are as follows:

I use hard returns sometimes for spacing. When I was advised to take a peek at my code, here's what I found in several of the areas where I used the hard return:

<o:p>
<p</tr>
<o:p>
<p</tr>
<o:p>
<p ALIGN="center"> </p>
<p ALIGN="center"> </p>
<p ALIGN="center"> </p>
<p ALIGN="center">
<o:p></p>
<p</tr>
<o:p>
<p</tr>
<o:p>
<p</tr>

Where in the world did all that bad code come from and what alternative way of spacing should I use to prevent it? A table (i've been told that nested tables cause problems with Netscape)?

Initially I didn't know what <o:p> represented. I now know.

HTML is sticking it's tongue at me

Gail

 

(in reply to pageoneresults)
pageoneresults

 

Posts: 1001
From: Orange, CA USA
Status: offline

 
RE: Soft and Hard Returns - 3/20/2002 12:09:22   
Hi Gail! I'm not sure why you need to create that much spacing in a document. I never design using empty <p></p> tags, its just not my style.

Don't know where that o: is coming from, I've never seen it before. Although, if I think back, when you cut and paste from another MS application like Word, you end up with the proprietary HTML for that program and the stuff from Word is an absolute mess. That is why it is always recommended that you cut from Word, paste into Note Pad or Word Pad and then cut and paste into FP. Going through that process strips out all of the proprietary code that causes problems.

The code example you provided is nightmareish. There are tags without closing tags. There are tags nested in other tags without closing tags! Did FP generate that? If so, I think there might be some problems with your preferences in FP or some sort of bug somewhere.

If you cut and pasted content from other applications, then I can see why HTML is sticking its tongue out at you! You are getting proprietary code mixed in with FP code mixed in with code from who knows where.

There is no need to use empty tags for spacing. Nested tables if done properly work just fine with NN4x and other browsers. Nested tables not done properly will cause problems as you've read. I'd like to see an example of a page where you require the type of spacing that you are explaining.

SEO Consultants Directory
http://www.seoconsultants.com

Edited by - pageoneresults on 03/31/2002 20:53:36

(in reply to pageoneresults)
_gail

 

Posts: 2876
From: So FL
Status: offline

 
RE: Soft and Hard Returns - 3/22/2002 9:13:22   
quote:

Hi Gail! I'm not sure why you need to create that much spacing in a document. I never design using empty <p></p> tags, its just not my style.


Holdover from graphic design techniques, used to create "white space" for visual effect when needed. It's obviously not a good idea with FrontPage.

quote:
That is why it is always recommended that you cut from Word, paste into Note Pad or Word Pad and then cut and paste into FP.


I've recently begun doing this. I've also been advised that even a better way is to paste text directly (and carefully) into HTML view.

quote:
The code example you provided is nightmareish.


I'm working on it.

quote:
Did FP generate that?


Evidently.

As always, thank you for all your helpful input. gail


 

(in reply to pageoneresults)
smy2

 

Posts: 52
Joined: 3/22/2002
From: Juiz de Fora Minas Gerais Brazil
Status: offline

 
RE: Soft and Hard Returns - 3/22/2002 22:16:51   
The irritating problem with soft returns is that often a hyperlink will stretch to the next line if the following text is another hyperlink. It is really annoying sometimes. The result is that you have what looks like 2 separate links that link to only one place.


(in reply to pageoneresults)
Basil

 

Posts: 2
Joined: 2/14/2002
From: Aurora CO USA
Status: offline

 
RE: Soft and Hard Returns - 3/22/2002 22:39:08   
Just a word of caution, earlier versions of Netscape (4.x) dislike the <p> tag, especially when addition variables are applied to it: i.e. <p align="center"></p>. In some cases alignment of following elements are lost or disrupted and in some extreme cases items (such as <layer>) will not display.

I believe that most experienced Frontpage users will stick to the <br> tag, however if you must use the <p> then use it with no additional variables.

If you wish to center a string of text commonly seen as:

<p align="center">Some text</p>

use a table element instead and eliminate the <p> tag.
<table>
<tr>
<td align="center">Some Text</td>
</tr>
</table>

<div> also works:

<div align="center">
<center>
Some Text
</center>
</div>

Watch out for Frontpage and one of it's little intricacies. If you highlight a string of text in a table cell and select the center justify button you will produce:

<td><p align="center">Some Text</p></td>

Note in some cases that the <p> tag will not be closed </p>. This will definatly rain havoc on Netscape as well as XML.

However, if you place the text inside of a table cell, highlight the cell and select the center justify button you will produce:

<td align="center">Some Text</td>

Form the futher ramblings of a mad man...

Basil


(in reply to pageoneresults)
pageoneresults

 

Posts: 1001
From: Orange, CA USA
Status: offline

 
RE: Soft and Hard Returns - 3/25/2002 17:19:55   
quote:
The irritating problem with soft returns is that often a hyperlink will stretch to the next line if the following text is another hyperlink. It is really annoying sometimes. The result is that you have what looks like 2 separate links that link to only one place.


That brings to mind another tip. If I'm not editing in html, I keep my show tags view on most of the time. This way you can position your cursor after the ending tag and create your <br> or soft return. You can also see where you've broken all those </b> and </font> tags!

ctrl + / will show tags in normal view.

SEO Consultants Directory
http://www.seoconsultants.com

Edited by - pageoneresults on 03/31/2002 20:54:58

(in reply to pageoneresults)
smy2

 

Posts: 52
Joined: 3/22/2002
From: Juiz de Fora Minas Gerais Brazil
Status: offline

 
RE: Soft and Hard Returns - 3/27/2002 13:52:48   
Thanks!!!!!!1


(in reply to pageoneresults)
Page:   [1]

All Forums >> Community >> OutFront Discoveries >> Soft and Hard Returns
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts