tbag Posted April 6, 2003 Posted April 6, 2003 Just a quick ones really. When I am coding in HTML mode and I copy a piece of code eg: <input type="submit" value="Save"> When I paste it, ID & NAME tags get added, ie: <input type="submit" value="Save" id="Submit1" name="Submit1"> I know Microsoft has gone to great lengths to make html editing easier. But I can find anywhere in the options where I can turn this off. It�s not just inputs, tables too. <table></table> changes to <table id="Table1"></table> Does anyone know of a way I can switch this off? Quote
Moderators Robby Posted April 6, 2003 Moderators Posted April 6, 2003 There are a few options you can change, Tools > Options > HTML/XML > Format... When I enter <input type="submit" value="Save"> it stays as is, even after compile and save. Quote Visit...Bassic Software
tbag Posted April 7, 2003 Author Posted April 7, 2003 I have switch off all the options in there. Still, when I copy and paste it still inserts the ID and/or NAME tags Quote
wyrd Posted April 7, 2003 Posted April 7, 2003 I know this probably isn't what you want to hear.. :D .. but.. the IDE inserting id/name properties in tags that you paste doesn't hurt anything. You can avoid this by either hand typing what you want or just simply deleting the id/name properties after you're done doing all your pasting... or just leave them. Quote Gamer extraordinaire. Programmer wannabe.
tbag Posted April 7, 2003 Author Posted April 7, 2003 I know you are right. It�s just I don't like it when companies add the things then don�t give you the option of switching it off. oh well :( Quote
GHaST Posted July 7, 2003 Posted July 7, 2003 Its even MORE annoying when your posting a big chunk of code/html and you have no idea how much is in there. I hate the way Frontpage used do this, and now I find VS taking the same boat. G Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.