Is it Frontpage changing my input tag or am I crazy

D

DukeOfPrunes

Hi. I have a file with this text in it:

<input name="go" type="image" src="images/submit.gif" />

When I drag the file to Frontpage 2000 to upload it to the web server
the text in the file on the server changes to:

<input name="go" type="image" src="images/submit.gif" width="53"
height="22" />

The width and height attributes make the page fail xhtml validation
which kinda sucks. Is Frontpage modifying the tag? If so, is there a
way to make it stop? Does Frontpage 2003 do the same thing?

I'm not an xman until I'm xhtml validated.
 
J

Jack Brewster

No, you're not going crazy.

Even with "Tools | Page Options | HTML Source | Preserve existing HTML"
checked FP2002 is adding the height and width values. I also tried editing
it out by using "Open With | Notepad" and when I saved the file, those bits
were back.

About all I can suggest is, if you have access via the file system on the
web server, edit it there, outside of FP. As long as you leave the file
alone on your development side, it should stay correct.

That really stinks, doesn't it.

I haven't switched to FP2003 yet, so I'm not sure if the problem persists
there as well.

Good luck!
 
S

Stefan B Rusynko

FP2003 handles it correctly (reformat as XML) and does not add the attributes

--




| No, you're not going crazy.
|
| Even with "Tools | Page Options | HTML Source | Preserve existing HTML"
| checked FP2002 is adding the height and width values. I also tried editing
| it out by using "Open With | Notepad" and when I saved the file, those bits
| were back.
|
| About all I can suggest is, if you have access via the file system on the
| web server, edit it there, outside of FP. As long as you leave the file
| alone on your development side, it should stay correct.
|
| That really stinks, doesn't it.
|
| I haven't switched to FP2003 yet, so I'm not sure if the problem persists
| there as well.
|
| Good luck!
|
| --
| Jack Brewster - Microsoft FrontPage MVP
|
| | > Hi. I have a file with this text in it:
| >
| > <input name="go" type="image" src="images/submit.gif" />
| >
| > When I drag the file to Frontpage 2000 to upload it to the web server
| > the text in the file on the server changes to:
| >
| > <input name="go" type="image" src="images/submit.gif" width="53"
| > height="22" />
| >
| > The width and height attributes make the page fail xhtml validation
| > which kinda sucks. Is Frontpage modifying the tag? If so, is there a
| > way to make it stop? Does Frontpage 2003 do the same thing?
| >
| > I'm not an xman until I'm xhtml validated.
|
|
 

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