snufff Posted March 15, 2006 Share Posted March 15, 2006 When Visual Studio 2005.net renders a WebControl he creates a span tag.Is this HTML correct?<table> <tr> <span id="thisIsWhatMyWebControlGenerates"> <td>Label </td> <td>Value </td> </span> </tr><table>He works fine, but can be wrong...the question is that the tag span is nested with tr tag Link to comment Share on other sites More sharing options...
aspnetguy Posted March 15, 2006 Share Posted March 15, 2006 That is not correct HTML it should have a closing </span>.Post your .net code, I am sure there is a reason it is being generated that way. Link to comment Share on other sites More sharing options...
snufff Posted March 15, 2006 Author Share Posted March 15, 2006 That is not correct HTML it should have a closing </span>.Post your .net code, I am sure there is a reason it is being generated that way.<{POST_SNAPBACK}> but I have a closing span tagplease, review my post, need help Link to comment Share on other sites More sharing options...
aspnetguy Posted March 15, 2006 Share Posted March 15, 2006 Sorry I did not read that closely enough.No that is definately not valid HTML.After all I heard about how VS 2005 was supposed to improve how they generated HTML I am dissappointed to see that.Just incase can you post the code you have for that page and I'll see if I can spot anything that looks out of place, but chances are that is just a bug in VS 2005.VS 2003 is full of junk like that. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now