hi i have this framework springs+struts2+hibernate framework
and am new to all this
am suppose to design a simple table on the jsp
the catch is its having 8 columns
all of thehm are having uniform size
columns like serial no are also taking up same size as that of name
i want to shrink the serial number and expand name
although i tried playing with the width attribute of td the column size seems to be fixed kindly help
binu narayanan
Ranch Hand
Joined: Jul 24, 2009
Posts: 56
posted
0
Its same way has it is done in html. You can either use width with % or size explicitly
Bear Bibeault
Author and opinionated walrus
Marshal
I moved this to the HTML forum because it is not a JSP question. JSP only creates HTML to send to the browser. if you do not understand this, please read this article.
You can use the Span tag.. Just surround the Sr no column with the <span> tag and give the the custom width.
This will not affect the width of other columns.