So Simple, Yet...

  • Thread starter Thread starter Eric
  • Start date Start date
E

Eric

....I haven't found the answer!

I just got FP2003 and I really like it even though I still don't know
the full power of it. Anyways, when I am typing directly into the
template, I see it adding the text to the code and it just goes on and
on and on to the right.

1) What is the best way to make sure the code wraps so that a long
paragraph won't force the code to travel 3ft off the right of the
screen?

2) When I enter a <br> in the code, it performs a simple single
spacing which I want most often. Why, when I hit the ENTER key, is
the result a double space? I don't know if it's a true double space,
it just looks like it. It's definitely not the "next line look" that a
simple <br> gets me.

Thanks for answers to both questions,
Eric
 
1) What is the best way to make sure the code wraps so that a long
paragraph won't force the code to travel 3ft off the right of the
screen?

TOOLS | Page Options > General > Code View Options > Word Wrap enabled
2) When I enter a <br> in the code, it performs a simple single
spacing which I want most often. Why, when I hit the ENTER key, is
the result a double space? I don't know if it's a true double space,
it just looks like it. It's definitely not the "next line look" that a
simple <br> gets me.

Many HTML tags have an inherent margin. The <p> tag is one of them. You
can easily change this with CSS -

p { margin:2px; } /*adjust to suit */

This will change the margin around all <p> tags on the page to be 2px. If
you only want to change the top and bottom margins, then you would use -

p { margin: 2px auto; } /* sets top/bottom to 2px and left/right to default
*/

The benefit of using a CSS-adjusted <p> tag over a <br> tag is that by doing
so, you have not inserted a "hard break" in your content, which may not
reflow properly as the browser viewport is resized.
 
1. I believe that Eric is asking about writing paragraphs in Design / Normal view

2. Use shift + enter to create a paragraph (just like in word)
 
Actually shift enter does not create a paragraph. It creates a line break.
Enter creates a paragraph. All in the context of HTML/Web-speak, not
Word/Printed document-speak.

Line breaks may give you acceptible formatting on the printed document, but
it may not in a resizable and flexible format like the web.
 
My mistake, I just mis-spoke.

Shift + Enter produces a line break and enter by itself inserts a paragraph break.
 
Thought so.... 8)

--
Murray

MD Websunlimited said:
My mistake, I just mis-spoke.

Shift + Enter produces a line break and enter by itself inserts a
paragraph break.

--
Mike -- FrontPage MVP '97-'02
J-Bots 2004 Released Special Pricing
http://www.websunlimited.com
FrontPage Add-ins Since '97 FP 2003 / 2002 / 2000 Compatible
 
MD said:
2. Use shift + enter to create a paragraph (just like in word)

Actually, use ENTER to create a paragraph, and SHIFT+ENTER to create a break, no?
 
----- Original Message -----
From: "Eric" <[email protected]>
Newsgroups: microsoft.public.frontpage.client
Sent: Thursday, September 23, 2004 4:50 AM
Subject: So Simple, Yet...

...I haven't found the answer!

I just got FP2003 and I really like it even though I still don't know
the full power of it. Anyways, when I am typing directly into the
template, I see it adding the text to the code and it just goes on and
on and on to the right.

1) What is the best way to make sure the code wraps so that a long
paragraph won't force the code to travel 3ft off the right of the
screen?

Is there a wordwrap feature in FP 2002? I have the same problem
as Eric...my code travels way off into the east.
 
Put a space in the text you are entering.

A long string of characters without a space will force a table/cell to
expand.

There is no feature in HTML that will cause things to happen otherwise.
 
Tools Page Options Code Formatting - set the right margins and allow line breaks in tags

--




|
| ----- Original Message -----
| From: "Eric" <[email protected]>
| Newsgroups: microsoft.public.frontpage.client
| Sent: Thursday, September 23, 2004 4:50 AM
| Subject: So Simple, Yet...
|
|
| > ...I haven't found the answer!
| >
| > I just got FP2003 and I really like it even though I still don't know
| > the full power of it. Anyways, when I am typing directly into the
| > template, I see it adding the text to the code and it just goes on and
| > on and on to the right.
| >
| > 1) What is the best way to make sure the code wraps so that a long
| > paragraph won't force the code to travel 3ft off the right of the
| > screen?
|
| Is there a wordwrap feature in FP 2002? I have the same problem
| as Eric...my code travels way off into the east.
|
|
 
Back
Top