I notice that the following:
produces an image with an anchor only a fraction of the visible image size (the red box shows this). So, If I want to use an image like a link, I must tweek the anchor with a "height" attribute.
Would it be possible to (a) make anchors containing images assume the shape of the image? or (b) allow something like:
or (c)
allow href be used in other elements like span,div,h1,h2? Perhaps this is invalid XHTML...
<a href="http://www.google.com"><img src="mygooglelogo.gif" style="border: 1px solid red;"/></a>
produces an image with an anchor only a fraction of the visible image size (the red box shows this). So, If I want to use an image like a link, I must tweek the anchor with a "height" attribute.
Would it be possible to (a) make anchors containing images assume the shape of the image? or (b) allow something like:
<img href="http://www.google.com" src="mygoogleogo.gif" />
or (c)
allow href be used in other elements like span,div,h1,h2? Perhaps this is invalid XHTML...
John Clarke
Cornerstone Systems Northwest Inc.