Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CSS and JSP

 
samart mateo
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all, how do i integrate CSS with JSP?

I'm doing a manufacturing tracking system. when i have a part in certain workstations, i wanted the part no to be displayed in different color according to workstations' coloring code. i stored the coloring code eg:FFCCFF in the database with the workstation so that the user could change the color later if they wanted to.

so, how do i displayed the part number fonts with colors defined according to workstations?

i only managed to change the <td> background color using jsp syntax but i wanted the font color to change instead as it looks nicer and tidier on the page.

this is what i do at this moment:

<td align="center" class="style29a" width="160" bgcolor="#<%= color %>"><%= stats %>


Thank you for your help.
[ February 07, 2006: Message edited by: samart mateo ]
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
style="color:#FFFFFF;background-color:#000000;"

Eric
 
samart mateo
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic