Solved

Frontpage adding tags suddenly!

Posted on 2003-11-11
1
153 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
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 insert an Iframe into 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 : Open Page or Post…
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…

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

20 Experts available now in Live!

Get 1:1 Help Now