This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Eric Pascarello wrote:Looking at your code in your post, your markup looks bad, you can not have the form tag around table cell like that. It would have be entirely in the cell or around the whole table.
I use table for alignment of elements (I don't know div tag properly).So very first tag after body tag is table tag and I adjust all the elements in it. So it is obvious that form tag might come under some td tag and the same td tag may contain another table. In my case it's like this ,
Excerpt of Header.jsp
So at the run time everything will be merged in single page. And everything looks fine.
Isn't this the proper way of alignment of elements? Please guide me if I am wrong. Please justify your statment.
Joined: Aug 16, 2007
Bear Bibeault wrote:Yes, look at the HTML code carefully. Your first example is invalid!
Bear, Form tag is closed properly and there no nesting of forms. What is invalid in that?