Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Frontpage adding tags suddenly!

Posted on 2003-11-11
1
163 Views
Last Modified: 2013-12-24
It seems that all of a sudden, when I save a .asp file, Frontpage 2000 wants to add certain tags (like <table> or <ul>) where I don't want them.

How do I stop this?

In page options, I have it set to "Preserve existing HTML" instead of "Reformat using the rules below".

Steve
0
Comment
Question by:skbohler
1 Comment
 
LVL 31

Accepted Solution

by:
seanpowell earned 250 total points
ID: 9724525
This is probably becasue of the way your asp is being coded:

Here's 2 examples:

1.
<% if error=1 %>
<body bgcolor="red">
<%else%>
<body bgcolor="blue">
<%end if%>

or
2.
<% if error=1 %>
sBgColor="red"
else
sBgColor="blue"
end if
%>
<body bgcolor= "<%response.write sBgColor%>">

The first example will be altered because FP does not read the asp, and so it thinks there's 2 body tags. The second will not, because there's only 1 body tag.

It's very likely that you're doing something similar. Depending on the code - FP may even prompt you about not viewing the page in Normal Mode becuase it will start adjusting your code.

Other than upgrading to FrontPage 2003 - which doesn't do this, you will probably need to rethink the code logic...

Thanks,
GM
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

When deciding to adopt any help desk solutions many factors should be explored before taking decisions. This will change from business to another but in general there are some kind of rule of thumb. Here are some quick tips: Do we need only ticket…
When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

860 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