By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,986 Members | 1,944 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,986 IT Pros & Developers. It's quick & easy.

control css with php

P: 3
i'm new to php and would like to add a function to my site that allows users to change the style e.g font size and colour etc and then be able to log on at another time to activate their style or create new ones, can anyone help with the best way to approach this?
thanx
Jul 5 '06 #1
Share this Question
Share on Google+
4 Replies


sashi
Expert 100+
P: 1,754
Hi there,

I would suggest you using javascript to remember user settings.. make use of cookies.. the most easiet way i would say.. good luck my fren.. :)
Jul 6 '06 #2

P: 2
i'm new to php and would like to add a function to my site that allows users to change the style e.g font size and colour etc and then be able to log on at another time to activate their style or create new ones, can anyone help with the best way to approach this?
thanx
Hello .
if you want to change it (color, size) for user.
You can code : we have many ways
I only example for color
1/ function :(not database).
user type in text box (in a form)
-- Bgcolor of page: <boby bgcolor="<?$HTTP_POST_VAR['nameoffieldtext']?>>.
Ok, maybe you release it.
2/ With database:
You make 1 table : confix(id, confixName, confixValue);
and ... If you want note description. You can mail for me. lephap99@gmail.com
Good luck to you
Jul 7 '06 #3

P: 2
Hey i got one for you that works like the one in MSN.com if that would work for you just re post and i'll post it or just e-mail me .

www.soportecr.com/xml/color.php
Jul 7 '06 #4

P: 3
Hey i got one for you that works like the one in MSN.com if that would work for you just re post and i'll post it or just e-mail me .

www.soportecr.com/xml/color.php
that would be really good if u could e-mail it to on cantaladie9@hotmail.com,
thanx alot
Jul 8 '06 #5

Post your reply

Sign in to post your reply or Sign up for a free account.