i want to make a very simple page with tables displaying data.
i want to style the table colors and titles with css
and here is the tricky part: i want to have a drop down menu where i can select the theme of the page? where i can change the background color, table color, titlle color. basically jump between one style sheet to the other?
Do you know CSS? If don't than I'll recommend to do it. Its very easy and lots of help available online.
You can change whole style of the page, but changing the CSS that you are using it for that page. You can do it through Javascript or if server side than use PHP or whatever programming language you are using.
But do experiment with it a bit and if you need help with code than come back here. Happy coding :)
Do you know CSS? If don't than I'll recommend to do it. Its very easy and lots of help available online.
You can change whole style of the page, but changing the CSS that you are using it for that page. You can do it through Javascript or if server side than use PHP or whatever programming language you are using.
But do experiment with it a bit and if you need help with code than come back here. Happy coding :)
yes i know css, and i've styled up my pages. i have several style sheets for the same page. basically i'm trying to look for a script that will let me pick which one i want to use?
also it would be cool if i could customize each style on the fly. as in change the color to my liking and generate a css file. is this possible?
LINK REL=StyleSheet HREF="$CSSName" TYPE="text/css" MEDIA=aural>
$CSSName is the name of your CSS file you want to use. You can use it on the fly. This is PHP way of doing it, but I also tried it and you can do the similar thing with JS.
Yea you can customize it too but for that you might have to keep the values in SESSION to show the same style all over the website. For this purpose i would recommend to build your page in components and associate style of each component in CSS. It will be easier to do it this way.
to keep it veryyyyyyyyyyyyyyy simple, just have 5-6 different html files with diff css associated files and then link them in the drop down menu. How much simpler can it get.