Posted by
justin, 02:23, 23rd April 2003:
Howd you do that thing with the style sheets where it changes the style, ive been looking but cant find :(
Posted by
zxenor, 04:07, 23rd April 2003:
correct me if i'm wrong, but isn't that the biggest feature of CSS? i figure it would be extremely popular in online documentation
Posted by
justin, 04:11, 23rd April 2003:
forgive me if im stupid, but i cant find it
Posted by
reitsma, 05:58, 23rd April 2003:
put simply, it combines the beauty of cookies, php and css.
in my source, it has this:
<link rel="stylesheet" rev="stylesheet" href="/styles/bluetoo.css" />
that piece of html is generated by the php, which first reads the cookie to determine who the user is, then spits out the link to the stylesheet that the user has selected in their profile.
make sense?
Posted by
cal, 08:23, 23rd April 2003:
reitsma is correct - i just use php to write out a different style line for each page.
what you're talking about is doing it clientside, something like this:
www.iamcal.com/publish/hacks/article.php...
Posted by
cal, 08:24, 23rd April 2003:
beargod: i just edited it
Posted by
beargod, 08:31, 23rd April 2003:
Oh ok then, that really freaked me