SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    gimme the uuuuuuuuuuu duuudie's Avatar
    Join Date
    Feb 2004
    Location
    Switzerland
    Posts
    2,253
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question CSS and dynamic variables

    Hi,
    I don't wanna take over the CSS forum but I was wondering: how does one use CSS with dynamic vars? For example if I have a PHP var that defines a hex color how can I include it in my stylesheet? Sorry if I can't give more infos, it is still quite abstract for me...

    thanks in advance for your time.

    cheers


  2. #2
    SitePoint Wizard megamanXplosion's Avatar
    Join Date
    Jan 2004
    Location
    Kentucky, USA
    Posts
    1,099
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    PHP variables just for hex codes? Are you making some kind of style switcher or something? If that's the case, then you should check out this article...

    http://www.alistapart.com/articles/phpswitch/

  3. #3
    SitePoint Wizard silver trophy
    Join Date
    May 2003
    Posts
    1,843
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ::: certified wild guess :::

  4. #4
    gimme the uuuuuuuuuuu duuudie's Avatar
    Join Date
    Feb 2004
    Location
    Switzerland
    Posts
    2,253
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    sorry for the late reply...

    thank you very much for your answers and for your links. Really helpful.

    thumbs up.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •