![]() |
|
|
|||||||
![]() |
HTML - How can I put 2 img atop of eachother in a table without destroying the layout? |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
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 WalterTemp |
|
|
|
|
#2 |
|
Posts: n/a
|
To further the education of mankind, "WalterTemp" <>
vouchsafed: > 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. -- Neredbojias Infinity has its limits. |
|