Solved

Frontpage adding tags suddenly!

Posted on 2003-11-11
1
166 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
[X]
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
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Now that Expression Web 4.0 (http://www.microsoft.com/expression/products/Upgrade.aspx) is free if you buy or have the full version of Expression Web 3.0, now is the best time to  migrate from FrontPage to Expression Web (http://www.frontpage-to-exp…
Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
The purpose of this video is to demonstrate how to properly insert a Vimeo Video into a WordPress site or Blog. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp…
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…

749 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