VS.NET Removing tags from my code...

D

Darren Clark

When i am viewing in the HTML window..
a portion of my code looks like
<tr height="1">
<td style="height:1px; padding:0; margin:0;"
background="../images/dropdown_bgr.gif"><img src="../images/spaceboy.gif"
height="1"></td>
</tr>

HOWEVER... if i go to the design view... and then back to the HTML view...
VS.NET removes the style attribute from the code and then leaves
<tr height="1">
<td background="../images/dropdown_bgr.gif" height="1"><img
src="../images/spaceboy.gif" height="1"></td>
</tr>

Why is this happening? sure it might not be the most valid HTML but it works
in all browsers.
vs.net SHOULD NOT remove it...


any ideas?
 

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

Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,902
Latest member
Elena68X5

Latest Threads

Top