• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

CSS and JSP

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
style="color:#FFFFFF;background-color:#000000;"

Eric
 
samart mateo
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you very much
 
PI day is 3.14 (march 14th) and is also einstein's birthday. And this is merely a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic