Thursday, 29 August 2013

how to change color by inline css

how to change color by inline css

I have a div, in css there is blue color for that div. Now I need to
change that color dynamically. I store color in database and want to use
database hexadecimal color code in that div.
How to change the default blue color?
I can fetch color from database. But can't use inline css to apply color
came from database.. Lets suppose from database color will come like
#3B5323.

No comments:

Post a Comment