Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > div, img and table problem

Reply
Thread Tools

div, img and table problem

 
 
ja1977
Guest
Posts: n/a
 
      02-02-2006
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;

}


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
putting img above/bellow img ? Jopek HTML 7 04-26-2009 10:26 PM
how to replace this like <img width=100 ...> with <img width="100" ...> zhanye815@gmail.com Perl Misc 7 06-21-2006 11:16 PM
Problem with IMG and TABLE Patan_22 HTML 0 01-19-2006 09:33 AM
Problem: <img></img> Philipp Lenssen XML 15 07-03-2005 09:23 AM
how to download img from html img tag news.austin.rr.com ASP .Net 2 04-27-2005 06:25 PM



Advertisments