Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
07-23-2009, 10:02 AM #1
- Join Date
- Jul 2009
- Thanked 0 Times in 0 Posts
How to Save CSS/StyleSheet in Database
Is there any way to store CSS settings and classes into a database. I have a css file describing styles for whole website.
I want to give user an option, to modify styles (background color, font, table header font, etc.) of thier own choices (at run-time). When user selects from the given options and hit save, then these values store in the database, so that when user visits the website next time then customized styles (theme) should be displayed on the web pages rather than default styles.
Also, i am using Java language(Wicket framework).
Is there any way to make css file dynamic (using variables in css file), or to save css classes (styles) into database ?