Unwanted automatic code changes

Posted on 2006-04-14
Last Modified: 2013-12-24
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
Question by:bob1010
    LVL 15

    Accepted Solution

    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.

    LVL 29

    Assisted Solution

    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

    LVL 15

    Expert Comment


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
    Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
    The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: : Click on Too…
    The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now