Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Unwanted automatic code changes

Posted on 2006-04-14
Medium Priority
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
  • 2
LVL 15

Accepted Solution

nprignano earned 1000 total points
ID: 16461060
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

coreybryant earned 1000 total points
ID: 16486398
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

ID: 16782139

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Turn A Profile Picture Into A Cartoon Using Photoshop And Illustrator This tutorial will teach you how to make a cartoon style image out of a regular picture. I have tried to keep the tutorial as simple as possible. I used Adobe CS4 for this tuto…
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.
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: mywebsite.com/wp-login.php : Click on Too…
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
Suggested Courses

580 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