Hi all,
I'm a beginner in jsp and need help in this. How do you write a jsp code to print different colours for different columns in a table of 5 by 5 squares?
Any help would be appreciated.
:)
Hi all,
I'm a beginner in jsp and need help in this. How do you write a jsp code to print different colours for different columns in a table of 5 by 5 squares?
Any help would be appreciated.
:)
Sorry maybe I wasn't very clear. But what I wanted to do was:
generate a times table in table form for 1-5 and to add in different colors for different columns.
i.e. 1st row is 1,2,3,4,5.
2nd row is 2,4,6,8,10.
3rd row is 3,6,9,12,15.
4th row is 4,8,12,16,20.
5th row is 5,10,15,20,25.
How do I create it in JSP? The table is 5x5 cells
I already told you. If you have a table in jsp:
<table>
<tr>
<td>
</td>
</tr>
</table>
And you want different colors in each cell or row or column then you use css.
Unless the code I posted is not what you meant.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.