How 2 change CSS online??

liunx

Guest
Can anybody help with this problom im having...

i have designed a site for a uni project and i want to make it possible for the admin to change the look of the site online, eg the back ground colour and text colour and style. Is there a way in which i can do this so that it saves it to thee CSS and changes the look of all the site??!

if anybody has any example code it would be much appreicated..


cheers.
Josh.Yes, this can be done with a server-side language. What does your server support?Originally posted by pyro
What does your server support?

erm i dont no on that 1. it will probly actully not published on the internet but just offline. Is it not posible to do this through javascript then? i have material that changes the colour of the bg and text of that page, but ideally i want it to update the css file so thaty it changes other pages aswell :confused:JavaScript does not have file I/O capabilities, so you will not be able to it with that.Originally posted by pyro
JavaScript does not have file I/O capabilities, so you will not be able to it with that.

Client side JavaScript doesn't have file I/O capabilities, but I believe server-side does. Even then, can't the admin just go into his FTP tool and edit the CSS file(s) that way?
 
Back
Top