Home > Archive > Java Help > January 2007 > How to change in CSS class at runtime
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
How to change in CSS class at runtime
|
|
| enggvipingupta@gmail.com 2007-01-22, 8:20 am |
| Hi frinds,
Can anybody tell me that can I pass the dynamic data in my
CSS(Cascading Style Sheel) class.
If yes then how?
Actually I have a CSS which I am including in a number of JSP pages,
Problem is that I want to change the configuration of my CSS class
result differently for the diffrent JSPs.
Please help me out if anybody can.
Thanks & Regards
| |
| KiLVaiDeN 2007-01-22, 8:20 am |
| > enggvipingupta@gmail.com a =E9crit :
>
> Hi frinds,
>
> Can anybody tell me that can I pass the dynamic data in my
> CSS(Cascading Style Sheel) class.
> If yes then how?
>
> Actually I have a CSS which I am including in a number of JSP pages,
> Problem is that I want to change the configuration of my CSS class
> result differently for the diffrent JSPs.
> Please help me out if anybody can.
>
>
> Thanks & Regards
Hello,
Usually you shouldn't do that, because it breaks the possibility for
the browser to cache the CSS. It could lead to problems in that matter.
The usual way to do that, is to include a "general" CSS, that includes
your general styles, and for each page, include a specific CSS for
_that_ page.
Cheers
K
|
|
|
|
|