Results 1 to 4 of 4

Thread: css rollover help

  1. #1
    Join Date
    Jul 2005
    Location
    UK
    Posts
    159
    Thanks
    15
    Thanked 0 Times in 0 Posts

    Question css rollover help

    i want to apply a css style to thumbnail images so that when they are hovered over, they have a red inner stroke... is this possible...kind of like the rectangles on this site:

    http://www.uxmag.com

  2. #2
    Join Date
    Jun 2006
    Location
    Acton Ontario Canada.
    Posts
    677
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    you just make a new class thats like
    tag {Style for not mouseovered}
    tag:hover {style changes on mouseover}
    - Ryan "Boxxertrumps" Trumpa
    Come back once it validates: HTML, CSS, JS.

  3. #3
    Join Date
    Jul 2005
    Location
    UK
    Posts
    159
    Thanks
    15
    Thanked 0 Times in 0 Posts

    Default

    argh,
    but what are the properties, i don't know enough about css
    thanks in advance

  4. #4
    Join Date
    Jun 2006
    Location
    Acton Ontario Canada.
    Posts
    677
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    tag:hover {border:1px solid red}
    from what i can remember.
    or .class:hover
    depends on your site..
    - Ryan "Boxxertrumps" Trumpa
    Come back once it validates: HTML, CSS, JS.

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
  •