Unwanted automatic code changes

Hi All,

I'm using some variables in a web page template so I can make a change
in one place and the change will be reflected wherever the variable is
listed. Example: a color used in a nav bar among other places. I know this
can be dealt with in CSS, but my problem is FrontPage 2003 "helping" me by
correcting the code when I don't want it to. Here's a specific code

Code BEFORE opening the file in FP2003:

  <div style="background:'{color_variable_1}'"></div>

Code AFTER opening the file in FP2003:

  <div style="background:color_variable_1; "></div>

I believe this color variable coding configuration is being used
in PHP. The second version doesn't work on the web page.

Is there some option somewhere in FrontPage 2003 where I
can make it quit helping me with these unwanted changes?

Bob Bridges
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

nprignanoTechnical ArchitectCommented:
Very common question - especially for pages that deal with PHP.  Unfortunately, the naswer is no.  FrontPage sucks in this and other aspects because it was designed for simple webpages - when you get into server side scripting such as PHP, you start to see a lot instances where FP changes code without being asked to.

Most often, you will get better results with an application like Macromedia Dreamweaver, or Visual Studio if you want to stay Microsoft.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Using the FP webbot HTML markup - it will stop FP 2003, but usually that is not the best way / easiest way.

 <!--webbot bot="HTMLMarkup" startspan -->
Your ASP or html coding here.
<!--webbot bot="HTMLMarkup" endspan -->

Insert - Web Components - Advanced Controls - HTML

nprignanoTechnical ArchitectCommented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development Software

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.