At 11:09 13/11/2003 +1030, Miles Tillinger wrote:
The reason I wanted to do it was because the image and the text both linked to the same URL with an <a> tag each (in separate cells of a table). I wanted to combine them so they were both wrapped in the one <a> tag, but when the <a> tag is wrapped around both div's clicking the image doesn't open the URL. So the solution defeats its own purpose :( Any ideas?
Try:
div#megatron {
position: relative;
margin-left: 100px;
}div#megatron img {
position: absolute;
top: 0;
left: 0;
}...
<div class="megatron">
<a href="...">
<img src="..." width="90" />
All your base are belong ...
</a>
</div>>> Irapuan Martinez .>__________________________________________
http://www.hypergraph.com.br*****************************************************
The discussion list for http://webstandardsgroup.org/
*****************************************************
