Results 1 to 3 of 3

Thread: CSS - class applies on click [resolved]

Threaded View

  1. #1

    Thread Starter
    Frenzied Member Acidic's Avatar
    Join Date
    Sep 2003
    Location
    UK
    Posts
    1,090

    Resolved CSS - class applies on click [resolved]

    I would like to apply a certain class to an object only when the object has been clicked on. I know you can do:
    Code:
    #Obj:hover
    Which will apply that part of CSS to the object when the mouse is hovering over the object. Is there an equivalent to when you've clicked the object or do I have to write JavaScript to do the trick?
    Last edited by Acidic; Nov 5th, 2004 at 05:14 AM.
    Have I helped you? Please Rate my posts.

Posting Permissions

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



Click Here to Expand Forum to Full Width