How can I manage CSS in JSP pages using the struts tag lib. Everytime I code a page and run it in browser all the html is at the top and all the tags are at the bottom. Its like I cannot mix the two. Why is this ?
You'll have to be more specific. CSS doesn't really have anything to do with Struts, so you'll need to explain (a) what you're trying to do, (b) how you're doing it, and (c) how the results vary from your expectations.
It'd have been quicker to tell me which theme you were using.
The "xhtml" theme renders form elements inside tables. If you're using the "xhtml" theme the snippet you posted would be invalid HTML, and different browsers would treat the invalid HTML in different ways.
I don't know if I believe you when you say that "the HTML was fine", because you didn't post the rendered HTML--considering how easy it is to cut-and-paste it'd be just as easy to cut-and-paste what's actually being emitted than to type something in that isn't complete.