How can I put 2 img atop of eachother in a table without destroying the layout?

W

WalterTemp

I have a small problem

I want a table with several images. however in some tablecell I want 2
images over eachother, how can I do this without destroying the table
layout..

Al pix re 10 by 10 pixels

If I use this config, the table get %#@$*(%^up.
any idea on how to do it proper?

<html>
<body>
<table border='0' cellpadding='0' cellspacing='0'>
<tr>
<td><img src='../pict1.PNG'></td>
<td><img src='../pict1.PNG'></td>
<td><img src='../pict1.PNG'></td>
<td><img src='../pict1.PNG'></td>
</tr>
<tr>
<td>
<td><img src='../pict1.PNG'></td>
<td><img src='../pict1.PNG'></td>
<td><img src='../pict1.PNG'><img src='../pict2.PNG'
style='z-index:3;position:relative;left:-10px'></td>
<td><img src='../pict1.PNG'></td>
</tr>
<tr>
<td><img src='../pict1.PNG'></td>
<td><img src='../pict1.PNG'></td>
<td><img src='../pict1.PNG'></td>
<td><img src='../pict1.PNG'></td>
</tr>
</table>

</body>
</html>


Thanks
Walter
 
N

Neredbojias

I have a small problem

I want a table with several images. however in some tablecell I want 2
images over eachother, how can I do this without destroying the table
layout..

Al pix re 10 by 10 pixels

If I use this config, the table get %#@$*(%^up.
any idea on how to do it proper?
....snip

Put a div in the cell, position it relative, put both images in the div,
position one absolute with 0 coordinates.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,054
Latest member
LucyCarper

Latest Threads

Top