*
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
Author

table problem?

venkatesh padmanabhan
Greenhorn

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..

Thanks,
Venkatesh
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
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.

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: table problem?