Wednesday, May 4, 2005, 11:55:48 AM, Tom wrote: > Can I create a div that is say 100 x 150 pixels wide, absolutely positioned, > specify a (thumbnail) background image, then put an anchor tag in with a > display block that simulates the whole div being a link?
Why simulate? How about: <a id="sn" href="sn.jpg" title="see full pic"><img src="sn_thumb.jpg" alt="Starry Night" /></a> #sn { position:absolute; /* this sets display:block; */ top:...; left:...; } #sn img {display:block;} > What leads to my question is the ability to do this with a <li> > item. Do /what/ with an LI? Create a list of abs positioned thumbnails? Because of the often frisky behavior of LI elements in IE, I'd recommend giving the UL position:relative (to make it the positioned container), giving the LI's display:block and using the above to position the anchors. In this arrangement, the LIs will just sit empty, which is fine. Steve -- http://mrclay.org/ : http://frenchhorns.mrclay.org/ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/