FP2003 Reformats code with CR/LF - Not GOOD!

J

jcdisciple

What should remain as this:

<center><strong><em>Now is the time for all good men to come to the aid
of their party</em></strong></center>

Turns into this when I reopen, save or paste in new code (SEE BELOW):

FP2002 never did this. I am spending valuable time trying to clean it
up afterwards, saving it (it'll save fine then) and uploading it. BUT,
if I have to come back later and update changes, it happens all over
again. To the entire html code!

I have checked all the setting related to "preserving existing HTML" in
options.

<center><strong><em>
Now
is
the
time
for
all
good
men
to
come
to
the
aid
of
their
party</em></strong></center>
 
J

JCDisciple

To see what FP2003 is doing to my HTML code, view the source of my
webpage.

The code was nice and neat until I hit save . . . . .:

http://www.Clothing4Christ.com/template.asp
(I am leaving out the body, head tags in this post, but not on my
webpage, for the purposes of this post.)

WHAT SHOULD LOOK LIKE THIS:

<TITLE>This is my TEMPLATE I use for my website</TITLE>

<p align="justify">Now is the time for all good men to come to the aid
of their party.

<p>Click &quot;View Source&quot; to see and observe below what happens
to the code everytime I hit the space bar, delete a character, and when
I am typing in &quot;Design&quot; view.


Turns into what you see below when I reopen the file for editing, save,
paste or type in new code (SEE UN-INTACT CODE BELOW):


<TITLE>
This
is
my
TEMPLATE
I
use
for
my
website
</TITLE>


<h1>Template</h1>

<p align="justify">
Now
is
the
time
for
all
good
men
to
come
to
the
aid
of their
party.
<p>Click
&quot;View
Source&quot;
to
see
and
observe
below what
happens
to
the
code
everytime
I
hit
the
space
bar,
delete
a
character,
and
when
I
am
typing
in
&quot;Design&quot;
view.


That's it! What a mess. FP2003 does NOT leave your code intact. Anyone
have a clue as to what is going on in FP2003 and what I can change, do
or modify to rememdy this??
 
T

Thomas A. Rowe

Under Authoring / Code check the line width / characters

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
T

Thomas A. Rowe

Try Code Formatting

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
R

Rob Giordano \(Crash\)

In Code Formatting try setting your right margin to 80 .


|
| Thomas A. Rowe wrote:
| > Under Authoring / Code check the line width / characters
| >
|
| I checked for that option upon reading yourpost, but I cannot find this
| to check it.
|
| Below are two screenshots that I made for your review -
|
| http://www.Clothing4Christ.com/images/CodeFormattingTab.jpg
|
| and
|
| http://www.Clothing4Christ.com/images/AuthoringTab.jpg
|
| Am I missing something, or overlooking it, or searching in the wrong
| section.
|
| Thank you!
|
 
J

JCDisciple

So far so good. Code is staying intact during saves. What a nightmare
that was!

The only thing it still does is create unnecessary line spaces in the
code when I hit ENTER or SPACEBAR, its intermittent, so I can't pick up
on a pattern of behavior to figure out what's causing it. I am doing
most of my coding by hand anyway, using CSS.

I'm not fond of the way FP formats CSS, but the tools for creating it
are OK -- then I clean it up and remove all the unnecessary extra
stuff. I have turned off the "complete html tags" option.

I guess I'm not paying the elf inside my computer enough . . .. . :)

Thank you gentleman for your feedback. If there are anymore
developments, I'll post back, for the sake of prosperity and knowledge.
 
R

Rob Giordano \(Crash\)

I use TopStyle Pro for CSS within FP. You should try TopStyle Lite (the free
version), then register it within FP as your editor for CSS.

Yer welcome.


| So far so good. Code is staying intact during saves. What a nightmare
| that was!
|
| The only thing it still does is create unnecessary line spaces in the
| code when I hit ENTER or SPACEBAR, its intermittent, so I can't pick up
| on a pattern of behavior to figure out what's causing it. I am doing
| most of my coding by hand anyway, using CSS.
|
| I'm not fond of the way FP formats CSS, but the tools for creating it
| are OK -- then I clean it up and remove all the unnecessary extra
| stuff. I have turned off the "complete html tags" option.
|
| I guess I'm not paying the elf inside my computer enough . . .. . :)
|
| Thank you gentleman for your feedback. If there are anymore
| developments, I'll post back, for the sake of prosperity and knowledge.
|
| Rob Giordano (Crash) wrote:
| > In Code Formatting try setting your right margin to 80 .
| >
| >
| > | > |
| > | Thomas A. Rowe wrote:
| > | > Under Authoring / Code check the line width / characters
|
 
T

Trevor L.

JCDisciple said:
So far so good. Code is staying intact during saves. What a nightmare
that was!

The only thing it still does is create unnecessary line spaces in the
code when I hit ENTER or SPACEBAR, its intermittent, so I can't pick
up on a pattern of behavior to figure out what's causing it. I am
doing most of my coding by hand anyway, using CSS.

Use shift-enter for a single line break.

Enter creates a new paragraph

Spacebar should just create &nbsp; - one very time you press it. Not a good way to space elements
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top