www.webdeveloper.com
Results 1 to 3 of 3

Thread: Thumnail Problem

  1. #1
    Join Date
    Mar 2006
    Location
    Scotland
    Posts
    67

    Challenging Thumbnail Problem

    I have a table of thumbnail images link which i am trying to style with css so that i can apply a style "sold" to the <td> element to to overlay a sold sticker on top.


    this sortof idea:

    Code:
    <td class="sold><img src="images/thumbnails/JM020.jpg" alt="JM020" />   </td>
    the current (broken) css is:

    Code:
    .sold {
    background-image:url(images/thumbnails/sold.png);
    z-index:5;
    
    }
    which would slap a sold sticker over the top...

    any help greatly appreciated.
    Last edited by Hemmer; 07-07-2007 at 12:44 PM. Reason: added code

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    z-index will only work on elements that are positioned relative or absolute.

  3. #3
    Join Date
    Mar 2006
    Location
    Scotland
    Posts
    67
    nevermind - i found a great site that answered my question here:

    http://www.tjkdesign.com/articles/pn...tra_markup.asp


    thanks anyways Fang

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles