Welcome to WebmasterWorld Guest from 22.214.171.124
Forum Moderators: phranque
The code I get is hideous and I need to optimize these pages and generally get them into shape. I barely know where to begin, since cleaning up all the Front Page-isms by hand can take a long time. In the documents I get sent, the copy is not even in sequence but in various absolutely positioned DIVs which seem to be in any old order in the HTML.
Has anyone ever faced this situation? Are there any short cuts I can use to eliminate the bulk of the garbage? Even if I need to [shudder] install and work in Front Page to do the clean up, I will, because this situation is not going to work out long term.
Dave, I should have sent my friend to you. Dreamweaver, eh?
I use FP2000 DW and notepad. FP2000 with extentions is just regular code - FP98 dinks with code and is a mess on all levels. The code that works with extentions on both 98 and 2000 is a mess.
Can you post or Stickymail me an example of the problem code.
I appreciate the suggestion of Dreamweaver. I had version 3.0, but I uninstalled it since I just stopped using it. I write all my code in HomeSite. Does anyone know if version 3.0 of Dreamweaver does code cleanup? That might make it worth a re-install.
The biggest problem I face is all the absolute positioning in these files, and the multitude of style declarations that have odd and unintuitive effects. If I just strip the HTML, I'm left with copy that's all out of sequence. Cleaning up by hand means deleting all kinds of spans and divs and spurious <p> and <br> marks.
Steve, thanks for your offer to look at some code. If the Front Page stuff that's coming is as bad as I'm afraid it might be, I'll take you up on the offer.