div, img and table problem

Discussion in 'HTML' started by ja1977, Feb 2, 2006.

  1. ja1977

    ja1977 Guest

    i have a problem with that i am trying to put a div on top og an img that
    are inside a <td>....

    The problem is that if i set the div style to absolute, the div stayes the
    same place no matter how big the browser is. And if i chose style to
    relative the div segment moves the image down... This is the code:

    part of html:
    <td colspan="11">
    <div class="transparent" id="">
    Content for class "transparent" Goes Here<br><br
    </div>

    <img src="images/udspil_14.jpg" width="805" height="477" alt="">
    </td>

    css:
    .transparent {
    position:relative;
    filter:alpha(opacity=70);
    top:-50px;
    display:block;
    width:638px;
    height:438px;
    color: #FFFFFF;

    left: 0px;
    z-index:2;

    }
     
    ja1977, Feb 2, 2006
    #1
    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. news.austin.rr.com

    how to download img from html img tag

    news.austin.rr.com, Apr 27, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    523
    Steve C. Orr [MVP, MCSD]
    Apr 27, 2005
  2. Philipp Lenssen

    Problem: <img></img>

    Philipp Lenssen, Jun 27, 2005, in forum: XML
    Replies:
    15
    Views:
    780
    David Håsäther
    Jul 3, 2005
  3. K Viltersten

    <div ... /> and <div ...></div>

    K Viltersten, Mar 30, 2009, in forum: ASP .Net
    Replies:
    4
    Views:
    778
  4. Jopek
    Replies:
    7
    Views:
    413
    dorayme
    Apr 26, 2009
  5. Replies:
    7
    Views:
    195
    Tad McClellan
    Jun 22, 2006
Loading...

Share This Page