#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2002
    Location
    Blacksburg VA/Philly PA
    Posts
    38
    Rep Power
    12

    Applying a CSS to dynamic content


    Right now I'm just fooling around with CSS and was wondering if there's a way to get the CSS to apply to the content i am retrieving from my MySQL table.
  2. #2
  3. Second highest poster :p
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jul 2001
    Posts
    7,322
    Rep Power
    33
    well when you print out the data just modify the HTML to include the CSS style
  4. #3
  5. No Profile Picture
    Devshed Novice (500 - 999 posts)

    Join Date
    Feb 2003
    Location
    Indonesia
    Posts
    905
    Rep Power
    18
    Just use it like the old way. Any example?
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2002
    Location
    Blacksburg VA/Philly PA
    Posts
    38
    Rep Power
    12
    tried this but it's not working. my style sheet will output correctly if i don't have it retrieving stuff from the database, but if echo something i get from mysql it ignores it.
  8. #5
  9. No Profile Picture
    Devshed Novice (500 - 999 posts)

    Join Date
    Feb 2003
    Location
    Indonesia
    Posts
    905
    Rep Power
    18
    I almost always use CSS in my program page, and no error.

    Can you give me sample your "not-work" code ?

IMN logo majestic logo threadwatch logo seochat tools logo