Forum Moderators: open

Message Too Old, No Replies

Word wrap in Frontpage

there must be an option somewhere...

         

Receptional Andy

2:45 pm on Apr 14, 2003 (gmt 0)



Although not my editor of choice, I use MS Frontpage occasionally.

However, in the HTML source view, there doesn't seem to be a way to use word wrap for long lines.

Surely this can be done? If there isn't an option anyone know of a plugin or something I could use? It's getting pretty infuriating trying to drag to the end of a line and having FP snap back so I can't select things ;)

DrDoc

2:54 pm on Apr 14, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



...and there's no little nifty button on the side?

ŻŻ¦
<-'

Receptional Andy

2:59 pm on Apr 14, 2003 (gmt 0)



No button like that at all :(

This is FP2000 btw.

DrDoc

3:07 pm on Apr 14, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



And there's no Edit->Word Wrap menu option either?

Receptional Andy

3:29 pm on Apr 14, 2003 (gmt 0)



Nope, I've had a good dig through FP's menus...

There must be someone out there using FP who's needed word wrap before me ;)

pageoneresults

3:41 pm on Apr 14, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Hello Andy! Go to...

Tools > Page Options > HTML Source

There is a field called right margin. Specify the number of characters you would like your html to wrap at. For example, set the margin at 500 characters and your html will wrap at 500 characters.

There is also a checkbox which Allows line breaks within tags. This will allow all html to wrap at 500 characters. Be careful though, I've never really been a fan of wrapping tags that in my mind should not be broken.

P.S. It is very important that you select the Reformat using the rules below option before resaving pages and creating the word wrap. If not selected, the page will revert back to the original html formatting when you save.

Receptional Andy

3:57 pm on Apr 14, 2003 (gmt 0)



Excellent, thanks a million pageoneresults :)

I'm actually having another FP problem now (in a separate post) you might be able to help me with, as you've posted on the exact same problem before...

Thanks again, I've been trying to work this out for ages ;)

One question. If I select 'Reformat using the rules below', does this affect how the pages appear to other people opening the same web?

pageoneresults

4:02 pm on Apr 14, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



If I select 'Reformat using the rules below', does this affect how the pages appear to other people opening the same web?

This is where the problems arise when you have multiple authors using FP. If everyone does not have their Page Options set exactly the same, then they will overwrite whatever changes you made and vice versa.

Anytime I bring on a client who is making changes to the site in FP, I have a 30 minute telcon assisting them with setting up their Page Options correctly.

P.S. The user would have to open and resave a page before their preferences override yours. If they were to open the web and just browse, your html formatting options would be left untouched.

P.S.S. Where is the other post?

pageoneresults

6:24 pm on Apr 14, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Andy, I forgot to mention that if the users have the option checked to Preserve existing html, there should be no problems with them working on the site.

The problem that does arise is you get multiple users with different html settings. When they save a page using the Preserve existing html option, your page preferences are preserved but their preferences are now incorporated into the html where their changes were made.

For example, if I made changes to the site using my preferences, there would be no indents or line breaks in the html. I could view source and easily tell who made changes based on their preferences.

I would then right click the page in html view and select Reformat HTML from the menu which would now apply my preferences. It's a really cool feature once you know how to use it.

Oh, I am using FP2002 which incorporated the Reformat HTML command in the right click menu while in html view. I don't think FP2000 had this. In FP2000 you follow the same procedure I listed above. While in html view go to...

Tools > Page Options > HTML

...and select Reformat using the rules below.

P.S. I may be off on the preferences thing, it has been a while since I've had to deal with this issue. I believe page preferences may travel with the page itself and not be overwritten unless someone has the option checked to Reformat using the rules below.