Log in

View Full Version : Style tag does not work in Form tag of JSP



ravindranaik_d
05-18-2007, 06:11 AM
Hello,
I am Using <div align="center" style="width=100%;height=52%;overflow:auto;"> to make a part of my JSP page to scroll but it does not work if I put it inside a <HTML:FORM></HTML:FORM> tag. Do you any idea of how to make it work?
I will be thankfull to you.

ravi

deficit
05-24-2007, 04:04 AM
Try making an external stylesheet, assigning the form an ID or class, and declaring the styles you want to apply to the form in the external stylesheet. If you have any questions as to how this is done, feel free to ask, else this should work for you.