The moose likes HTML, CSS and JavaScript and the fly likes table problem? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "table problem?" Watch "table problem?" New topic

table problem?

venkatesh padmanabhan

Joined: Feb 17, 2006
Posts: 20
I have created a calendar program in jsp.
I have 2 problems now..

1. the calendar is displaying all the months vertically, but i need it to be shown in 3*4 matrix style, ie.. jan feb mar on one row,like that.

2. I want the user to select the dates.when he selects the date, that date has to be highlighted with some color, to know it is clicked.

My calendar code is given below..

Please help me with the code..

Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
well you have a couple of choices.

Set all of the tables' CSS display property to inline and put a break after each 3rd table you generate.

You can build one big tables and embed each of the smaller tables in the cells.

Other wasy involves using a divs.

I agree. Here's the link:
subject: table problem?
It's not a secret anymore!