Welcome to WebmasterWorld Guest from 54.226.147.190

Forum Moderators: open

Message Too Old, No Replies

ms fp 2003

Code driving me crazy!

     

Roxster

7:04 pm on Sep 9, 2006 (gmt 0)

5+ Year Member



F</span>actory Color Matched</td>
For some reason the span tag keeps getting in the way mid words. FP keeps sticking it in, can anyone tell me why? Even weirder why midword? I am doing a little cut and pasting and rewording to keep pages/tables consistant looking. For example the header on the top that reads Store > Category > Page is one thing getting copied around.

rokec

6:49 am on Sep 10, 2006 (gmt 0)

5+ Year Member



FRONT PAGE my recommendation: Don't use it. Use better programs such as MX Dreamweaver.

bill

5:48 am on Sep 11, 2006 (gmt 0)

WebmasterWorld Administrator bill is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



As a WYSIWYG FP attempts to retain all formatting when copying from IE or an Office program and pasting into the WYSIWYG editor window. That's why it's putting that <span> in there.

You have a couple options. Copy and paste the content to a text editor like Notepad or Wordpad as an intermediate step and then paste into FP.

Another option is to Paste Special from the Edit menu.

A third option might be to paste into Code view and then add the tags around the content yourself.

Wlauzon

4:55 am on Sep 12, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The problem is not what you are pasting TO (FP), it is what you are pasting FROM - it has some extra, perhaps hidden chars in there.

As the previous poster said, the only sure way is to paste into notepad, which removes ALL junk, then back to FP.

europeforvisitors

3:44 pm on Sep 12, 2006 (gmt 0)



FRONT PAGE my recommendation: Don't use it. Use better programs such as MX Dreamweaver.

As others have pointed out, the problem isn't with FrontPage, it's with the source material (and with knowing--or not knowing--how to use the program).

pageoneresults

3:51 pm on Sep 12, 2006 (gmt 0)

WebmasterWorld Senior Member pageoneresults is a WebmasterWorld Top Contributor of All Time 10+ Year Member



For some reason the span tag keeps getting in the way mid words.

This typically happens when you cut from another page in FP that has embedded styles and then you paste into another page that does not have those embedded styles. But, I'm not sure why you are experiencing mid word chops like that. Unless of course you are cutting that first letter from another page and pasting into the page in question? I wouldn't think so, but that may cause something like this.

What is in the opening <span> element?

Wlauzon

7:42 pm on Sep 12, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



FRONT PAGE my recommendation: Don't use it. Use better programs such as MX Dreamweaver.

I don't see where he asked about how good or bad FP was, or what other program he should be using.

jimbeetle

7:56 pm on Sep 12, 2006 (gmt 0)

WebmasterWorld Senior Member jimbeetle is a WebmasterWorld Top Contributor of All Time 10+ Year Member



[quote]extra, perhaps hidden chars in there[/qqote]

I sometimes pick up some seemingly extra bits when copying & pasting in design view, though it's often parts of positioned image calls.

As suggested, working in code or split view can help you narrow down the exact cause, or the handy-dany "Reveal Tags" (CTRL /) might uncover it.

Roxster

2:21 pm on Sep 13, 2006 (gmt 0)

5+ Year Member



I copied from frontpage on one page, than pasted into the other page.
After editing the html to look right, I copied in design view and pasted to the next page which repeated the error.

<a href="http://www.my domain.com/">
<span lang="en-us">H</span></a><span lang="en-us"><a href="http://www.my domain.com/">ome</a> &gt;
<a href="index.aspx">product category</a> &gt;
detail page description </span></td>
</tr>
Maybe I am grabbing an extra element that FP doesn't like.

To comment on FP vs DW: I fluent both. Neither are perfect and I find my favorite way to get good code is to write HTML in FP code view for the color coding or in wordpad for a different set of reasons. For simplicity my problem is FP sticking in a span tag and while I don't blame FP2003 for it, I'd like to know how to prevent it in the future.

pageoneresults

2:33 pm on Sep 13, 2006 (gmt 0)

WebmasterWorld Senior Member pageoneresults is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Do a search in Google for...

frontpage inserting <span lang="en-us">

If you are using FP2002, you may need to apply a patch. Here's an article from MS...

[support.microsoft.com...]

Span Lang Tag Inserted if Keyboard and Language Do Not Match
If you set the page language to a language different from the keyboard language, any text that you type on the page is encapsulated with the following tag:
<span lang="keyboard language code"> SP-1 changes this behavior so that this tag is used only when the keyboard and page language use different code pages.

Roxster

3:27 pm on Sep 13, 2006 (gmt 0)

5+ Year Member



Good idea jimbeetle.

When I fix the html to normal. When I select in design/code spit view I see that it grabs the text, but won't keep the link.
Selecting this:
<a href="http://www.my domain.com/">Home</a> &gt;
<a href="index.aspx">category</a> &gt; Product description
Selects this in code view:
Home</a> &gt;
<a href="index.aspx">category</a> &gt; Product description

 

Featured Threads

Hot Threads This Week

Hot Threads This Month