This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 15376
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?
Similar Threads
Displaying all the months in the year
Problem with saving a state in calendar program.
user selection of multiple items?
To change color,when user selects a date?
changing the color?