large Image in a TD

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Michael Skind

    #1

    large Image in a TD

    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


  • Andrew Thompson

    #2
    Re: large Image in a TD

    On Sat, 27 Nov 2004 16:39:45 +0100, Michael Skind wrote:
    [color=blue]
    > I would like to insert an image in a TD without changing size of the TD nor
    > of the Image.[/color]

    Does this have something to do with JavaScript? Perhaps you
    are better off looking to an HTML/CSS solution.

    For a CSS group, try..
    <http://groups.google.c om/groups?group=co mp.infosystems. www.authoring.s tylesheets>
    But be warned that they will probably demand a validated
    URL before they address your question.

    --
    Andrew Thompson
    http://www.PhySci.org/codes/ Web & IT Help
    http://www.PhySci.org/ Open-source software suite
    http://www.1point1C.org/ Science & Technology
    http://www.LensEscapes.com/ Images that escape the mundane

    Comment

    • Michael Skind

      #3
      Re: large Image in a TD


      "Michael Skind" <eskind@wanadoo .fr> a écrit dans le message de news:
      41a89f5d$0$1636 2$8fcfb975@news .wanadoo.fr...[color=blue]
      > 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[/color]

      Here is the link :


      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)


      Comment

      • rf

        #4
        Re: large Image in a TD

        "Michael Skind" wrote:[color=blue]
        > "Michael Skind" wrote:[/color]
        [color=blue][color=green]
        > > Any idea ?[/color][/color]

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

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

        </td>


        --
        Cheers
        Richard.




        Comment

        • Michael Skind

          #5
          Re: large Image in a TD

          >[color=blue]
          > <td style="cursor = 'hand'; position: relative;">
          >
          > <img style="position : absolute; right: 0; bottom: 0;">
          >
          > </td>
          >
          >[/color]
          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


          Comment

          Working...