Code

B

Bill Winter

I cannot get this to show on my local machine with in my web page what is
going on. If I cut and paste this into the page it will not save, or when
publish it from the web server to my local.

Thanks

<!-- Inserted by White Light Computing (WLC) -->
<!-- Rick Schummer, 11-Jan-2005 -->
<td valign="top">
<h1>Pest Control Company Search</h1>

<table cellspacing="0" cellpadding="0" border="0" style="border-collapse:
collapse">
<form method="get" action="viewcompanies.asp" name="frmLogin">
<tr>
</tr>
<tr>
<td width="134"><FONT class="textLabel">Zipcode:</FONT></td>
<td width="164"><INPUT name="txtPostalCode" type="textbox"
class="inputText" size="20"></td>
</tr>
<tr>
<td width="134"><FONT class="textLabel">Miles:</FONT></td>
<td align="left" width="164"><INPUT name="txtMiles" type="textbox"
class="inputText" size="4"></td>
</tr>
<tr><td> </td></tr>
<tr>
<td colspan="3" align="center">
<input type=submit value="Search">
</td>
</tr>
</table>
<p> </p>
</form>
</td>
<!-- End of Insert (WLC) -->
 
M

Murray

It's pretty invalid code, you know?

<table cellspacing="0" cellpadding="0" border="0" style="border-collapse:
collapse">
<form method="get" action="viewcompanies.asp" name="frmLogin">
<tr>

Nothing is allowed between <table> and <tr>.

<tr>
</tr>

An empty row is invalid.

<tr><td> </td></tr>

This is a poorly formed row - it must have two cells, not one.

<td colspan="3" align="center">

This is a poorly formed row - it must have a colspan of 2 not 3.
 
B

Bill Winter

At least I did not write the code, and no nothing about html, will this code
cause it not to save in front page. Because when it is ftp up to the site it
works fine with a link to the page, but when updating my local it removes the
code from the web server also.
 
M

Murray

No, it wouldn't cause that.

--
Murray

Bill Winter said:
At least I did not write the code, and no nothing about html, will this
code
cause it not to save in front page. Because when it is ftp up to the site
it
works fine with a link to the page, but when updating my local it removes
the
code from the web server also.
 
M

Murray

No idea. I'm not really sure what you mean by "not save". You mean you try
to save the file, and ... what happens?
 
B

Bill Winter

I just created a new page on my local site, which has shared boards. I then
copy the code from notepad and paste it into the code page that I just
created. Click prview and it looks just like should. I then close the page
and it asks me if I want to save it, yes and give it a name I can then reopen
the page just after saving and the code is gone only thing left is what is
commented out. and that is what I get each time.

Thanks for your time.
 
S

Stefan B Rusynko

Paste the following in code view
<h1>Pest Control Company Search</h1>
<!-- Inserted by White Light Computing (WLC) -->
<!-- Rick Schummer, 11-Jan-2005 -->
<form method="get" action="viewcompanies.asp" name="frmLogin">
<table cellspacing="0" cellpadding="0" border="0" width="298">
<tr>
<td width="134"><FONT class="textLabel">Zipcode:</FONT></td>
<td align="left" width="164"><INPUT name="txtPostalCode" type="textbox" class="inputText" size="20"></td>
</tr><tr>
<td width="134"><FONT class="textLabel">Miles:</FONT></td>
<td align="left" width="164"><INPUT name="txtMiles" type="textbox" class="inputText" size="4"></td>
</tr><tr>
<td colspan="2" align="center"><input type=submit value="Search"></td>
</tr>
</table>
</form>
<!-- End of Insert (WLC) -->





| I just created a new page on my local site, which has shared boards. I then
| copy the code from notepad and paste it into the code page that I just
| created. Click prview and it looks just like should. I then close the page
| and it asks me if I want to save it, yes and give it a name I can then reopen
| the page just after saving and the code is gone only thing left is what is
| commented out. and that is what I get each time.
|
| Thanks for your time.
|
| "Murray" wrote:
|
| > No idea. I'm not really sure what you mean by "not save". You mean you try
| > to save the file, and ... what happens?
| >
| > --
| > Murray
| >
| > | > > Any Ideas on what would cause it not to save. Corupt extensions ?
| > >
| > > "Murray" wrote:
| > >
| > >> No, it wouldn't cause that.
| > >>
| > >> --
| > >> Murray
| > >>
| > >> | > >> > At least I did not write the code, and no nothing about html, will this
| > >> > code
| > >> > cause it not to save in front page. Because when it is ftp up to the
| > >> > site
| > >> > it
| > >> > works fine with a link to the page, but when updating my local it
| > >> > removes
| > >> > the
| > >> > code from the web server also.
| > >> >
| > >> > "Murray" wrote:
| > >> >
| > >> >> It's pretty invalid code, you know?
| > >> >>
| > >> >> <table cellspacing="0" cellpadding="0" border="0"
| > >> >> style="border-collapse:
| > >> >> collapse">
| > >> >> <form method="get" action="viewcompanies.asp" name="frmLogin">
| > >> >> <tr>
| > >> >>
| > >> >> Nothing is allowed between <table> and <tr>.
| > >> >>
| > >> >> <tr>
| > >> >> </tr>
| > >> >>
| > >> >> An empty row is invalid.
| > >> >>
| > >> >> <tr><td> </td></tr>
| > >> >>
| > >> >> This is a poorly formed row - it must have two cells, not one.
| > >> >>
| > >> >> <td colspan="3" align="center">
| > >> >>
| > >> >> This is a poorly formed row - it must have a colspan of 2 not 3.
| > >> >>
| > >> >> --
| > >> >> Murray
| > >> >>
| > >> >> | > >> >> >I cannot get this to show on my local machine with in my web page
| > >> >> >what
| > >> >> >is
| > >> >> > going on. If I cut and paste this into the page it will not save, or
| > >> >> > when
| > >> >> > publish it from the web server to my local.
| > >> >> >
| > >> >> > Thanks
| > >> >> >
| > >> >> > <!-- Inserted by White Light Computing (WLC) -->
| > >> >> > <!-- Rick Schummer, 11-Jan-2005 -->
| > >> >> > <td valign="top">
| > >> >> > <h1>Pest Control Company Search</h1>
| > >> >> >
| > >> >> > <table cellspacing="0" cellpadding="0" border="0"
| > >> >> > style="border-collapse:
| > >> >> > collapse">
| > >> >> > <form method="get" action="viewcompanies.asp" name="frmLogin">
| > >> >> > <tr>
| > >> >> > </tr>
| > >> >> > <tr>
| > >> >> > <td width="134"><FONT class="textLabel">Zipcode:</FONT></td>
| > >> >> > <td width="164"><INPUT name="txtPostalCode" type="textbox"
| > >> >> > class="inputText" size="20"></td>
| > >> >> > </tr>
| > >> >> > <tr>
| > >> >> > <td width="134"><FONT class="textLabel">Miles:</FONT></td>
| > >> >> > <td align="left" width="164"><INPUT name="txtMiles" type="textbox"
| > >> >> > class="inputText" size="4"></td>
| > >> >> > </tr>
| > >> >> > <tr><td> </td></tr>
| > >> >> > <tr>
| > >> >> > <td colspan="3" align="center">
| > >> >> > <input type=submit value="Search">
| > >> >> > </td>
| > >> >> > </tr>
| > >> >> > </table>
| > >> >> > <p> </p>
| > >> >> > </form>
| > >> >> > </td>
| > >> >> > <!-- End of Insert (WLC) -->
| > >> >>
| > >> >>
| > >> >>
| > >>
| > >>
| > >>
| >
| >
| >
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top