SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Jul 2000
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    showing background image on mouseover

    Hi
    I'm kind of getting to grips with CSS but what I need help with is this:- I've got a table, with a background image. the table has a number of cells.
    I would like to get each cell transparent(maybe 50%) and on mouseover become transparent - so you see the image.
    My problem is the syntax. any pointers.

    This is the code I'm using

    style="background-color: gray;(50%);"
    onmouseover = "this.style.backgroundColor='transparent';"
    onmouseout = "this.style.backgroundColor='gray';"

    Now if I could get the gray color to be opaque or use an image[blurred version of the background image]

    thanks in advance
    Jim
    the flat

  2. #2
    SitePoint Wizard
    Join Date
    Jul 2001
    Location
    The Netherlands
    Posts
    2,617
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Isn't the semi-colon behind gray causing your problems?


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
  •