It's not a secret anymore!
The moose likes JSP and the fly likes CSS with EL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "CSS with EL" Watch "CSS with EL" New topic

CSS with EL

Lucas Smith
Ranch Hand

Joined: Apr 20, 2009
Posts: 808

How can I use CSS file and EL?
For example I want to read color value using EL and assign it to the property of CSS file. Is it possible?

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63868

They have nothing to do with each other.

So, no.

Perhaps you can explain what you are really trying to accomplish and perhaps a supported way of achieving it might be possible.

[Asking smart questions] [About Bear] [Books by Bear]
David Newton

Joined: Sep 29, 2008
Posts: 12617

You could run a CSS file through JSP, I suppose.
I agree. Here's the link:
subject: CSS with EL
It's not a secret anymore!