large Image in a TD

Discussion in 'Javascript' started by Michael Skind, Nov 27, 2004.

  1. Hello,

    I would like to insert an image in a TD without changing size of the TD nor
    of the Image.

    Here is the less bad solution I have found :
    <TD style="cursor = 'hand';">
    <SPAN style="position: absolute; bottom: auto;">
    <IMG>
    </SPAN>
    </TD>
    But with this, the image (or SPAN ?) is aligned on the top left corner of
    the TD and I would like it on the bottom right corner.
    Any modifications I do on the TD style (cursor shape, border color) does not
    appear any more. It works if I remove the SPAN.

    Any idea ?

    Michael
     
    Michael Skind, Nov 27, 2004
    #1
    1. Advertising

  2. "Michael Skind" <> a écrit dans le message de news:
    41a89f5d$0$16362$...
    > Hello,
    >
    > I would like to insert an image in a TD without changing size of the TD
    > nor of the Image.
    >
    > Here is the less bad solution I have found :
    > <TD style="cursor = 'hand';">
    > <SPAN style="position: absolute; bottom: auto;">
    > <IMG>
    > </SPAN>
    > </TD>
    > But with this, the image (or SPAN ?) is aligned on the top left corner of
    > the TD and I would like it on the bottom right corner.
    > Any modifications I do on the TD style (cursor shape, border color) does
    > not appear any more. It works if I remove the SPAN.
    >
    > Any idea ?
    >
    > Michael


    Here is the link :
    http://jeux.furrina.com/izi/td_img.html

    I have 2 problems :)
    1) I would like to align my images on the bottom right corner and not on the
    top left corner (as it works now)
    2) My TD border should have to change it color but SPAN seems to refuse it
    (it works without it)
     
    Michael Skind, Nov 28, 2004
    #2
    1. Advertising

  3. Michael Skind

    rf Guest

    "Michael Skind" wrote:
    > "Michael Skind" wrote:


    > > Any idea ?


    <td style="cursor = 'hand'; position: relative;">

    <img style="position: absolute; right: 0; bottom: 0;">

    </td>


    --
    Cheers
    Richard.
     
    rf, Nov 28, 2004
    #3
  4. >
    > <td style="cursor = 'hand'; position: relative;">
    >
    > <img style="position: absolute; right: 0; bottom: 0;">
    >
    > </td>
    >
    >

    Thanks for your help,

    I am close to the solution :)
    But there is still one problem.
    A larger image is truncate on the right
    (http://jeux.furrina.com/izi/td_img.html).
    Z-INDEX propertie does not work on Image.
    Do you know how to bypass this problem ?

    Michael
     
    Michael Skind, Nov 28, 2004
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Charlie@CBFC
    Replies:
    1
    Views:
    550
    Joshua Flanagan
    May 3, 2005
  2. Patrick Boulay

    Print Large Image

    Patrick Boulay, Feb 4, 2004, in forum: Java
    Replies:
    0
    Views:
    581
    Patrick Boulay
    Feb 4, 2004
  3. Laszlo Zsolt Nagy
    Replies:
    1
    Views:
    1,369
    Kartic
    Jan 26, 2005
  4. Ketchup
    Replies:
    1
    Views:
    250
    Jan Tielens
    May 25, 2004
  5. Replies:
    5
    Views:
    881
    Xho Jingleheimerschmidt
    Apr 2, 2009
Loading...

Share This Page