partial css edit

Discussion in 'CSS' started by Valiant, Feb 19, 2009.

  1. #1
    hi all,

    im making a site and want members be able to styletheir area with css. without being able to change the rest of the sites css. Is this posible?

    thanks,

    Valiant
     
    Valiant, Feb 19, 2009 IP
  2. tolra

    tolra Active Member

    Messages:
    515
    Likes Received:
    36
    Best Answers:
    1
    Trophy Points:
    80
    #2
    Sure, vBulletin do it, they simply have boxes to put the CSS in for specific user modifiable classes, that is the user can't specify the classes only properties such as colour.

    You then load the base CSS followed by the user modified CSS.
     
    tolra, Feb 20, 2009 IP
  3. NewLogic87

    NewLogic87 Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Why, sure it is. I've done something similar where users are allowed to change the background color by using a very simple mySQL table and even simpler PHP variables in the stylesheet.
     
    NewLogic87, Feb 20, 2009 IP