Forum Moderators: phranque

Message Too Old, No Replies

Clean up HTML white space?

with frontpage

         

Fryman

9:42 am on Jun 26, 2004 (gmt 0)

10+ Year Member



Is there a way to clean up all the white space that frontpage puts at the begining of each line of my html code? I don't want to compress the code, I just want to clean it up.

If there is a program you recommend that can do this, please let me know, as long as it isn't dreamweaver, since I odn't have the time to learn how to use it.

Thanks

keyplyr

5:19 pm on Jun 26, 2004 (gmt 0)

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




Short of compressing the code, which you say you don't want to do, or learning yet another WYSIWYG editor, you could always use the Replace feature of FP. Start by replacing 1 space with nothing, then 2 spaces with nothing, etc until the number of spaces cannot be found.

bill

9:10 am on Jun 27, 2004 (gmt 0)

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



It depends on which version of FP you have as to how you do it, but each one has HTML formatting rules that you can easily control. In FP 2003 try
Tools ¦ Page Options... ¦ Code Formatting
You can control all the spacing used by FP in the HTML source there.