CSS - Allowing Users To Choice A Css
I know this can be done and of course now that I want to try it I can't find any sites that have this option to use as a guide and my search didn't turn up anything.
Any one here experienced with this or now a site I could use as a guide?? Similar TutorialsHello, I have a website (using PHP) where users can create their own profiles for other users to view. I would like to create some CSS templates / themes that they can choose from to change the look of their profile page. I would like the style to be applied to a page so that everyone who views it sees it in that style. All the info I've found so far has been for the user preference in a cookie only, not to change the page permanantly. I suppose this would involve writing a value to the database so the style sheet is linked to that page via the database value. Any hints on how I go about setting this up? It's pretty new to me, all help would be vastly appreciated. Many thanks Does anyone know this number. My three column layout has the middle (fluid) column below the left and right columns. It is valid and it is fine on Opera and Firefox and IE. could anyone with safari go to: http://www.mmimageart.com/fineart.html http://www.mmimageart.com/fineart2.html http://www.mmimageart.com/fineart3.html and tell me if you see any errors, specially the text under the thumbnails getting out of place? or does everything looks normal to you ? thanks. Hello I'm a newbie on this forum and have a CSS problem I could do with some help on. On this website www . glewstonecourt . com (please remove spaces as I can't post links just yet!) I've been told by the client that some website visitors are experiencing problems with the navigation..... the first few buttons are appearing fine, but then the subsequent ones aren't.... but I can't seem to replicate the problem! Any suggestions anyone? bren Hola, I'm about done with my site design. CSS is almost complete, and I'm happy with how the site appears across all browsers. The next step in my development cycle is going to be provide alternate color themes to my users. I will have a default theme, and at the top right corner will be a small palette/swatch of about 7 colors, each representing a color theme. What is the best way to approach this? My idea is that each theme has its own set of color variables which would be included as a file, inserted into the style sheet.Each theme would have it's own include file, and a variable placed in a cookie would determine which theme file was included. ie (i'm using cfml but it should apply to any scripting language) ------------------------------- <cfset background = #e3edc2 > <cfset color = #333 > <cfset text = #686397 > <cfset validated text = blue > <cfset error text = red > <cfset header background = #abd240 > <cfset navbar backgroud = #686397 > ----------------------------------- Then in the actual style sheet I would have --------------------------------------------- <cf include template="theme.cfm"> body { background: #variable#; color: #variable#; font: .8em arial, helvetica, sans-serif; margin: auto; padding:0px; } a { color: #variable#; } .smalltext { font-family: arial, helvetica, sans-serif; color: #variable#; font-size: .7em; } --------------------------------------------------------- Does this seem logical? Basically, I just want people to be able to choose between various color sets that would be applied to the style sheet dynamically. I can then work from one Main style sheet and add color themes as I please. Hey! I would like to write a script that allows users to select .css files from a pulldown menu that is populated by all the .css files located in a given directory. The goal is to "write" the selected file's name into a config file (I assume) so that that particular .css file will be the one used. Then if the user wants to change .css files, they nav. back to the pulldown page and reselect a new .css file. Is this possible? I don't expect that someone will write this for me...but hopefully someone might be able to point me in the right direction... A feature that would allow users to upload (only) .css files would also be excellent...but I realize that would require populating the dropdown with information in my database...(thus negating the first paragraph...) Which method would be better? And how can I go about writing the pulldown selection to a config file? Your wisdom is much appreciated. Thank you. Cranjled PS. If doing this with PHP is not the right way...please don't hesitate to tell me! I only assumed php since my site is in php... |