On 4/10/08, Martin Sammtleben <[EMAIL PROTECTED]> wrote: > ... but the thumbnails also need > to be clickable links ...
I thought about this last night, intending to test something out when I got home but forgot entirely to do so. Regardless, I thought it worth considerating to suggest that a div might not be necessary. I had two thoughts: 1.) Could you not just render these particular links as block elements, either by floating them or explicitly declaring display: block and then setting the background to whatever image you need? Ideally you would then use the alternate text as the link text and hide it from traditional browsers in some way. A List Apart has had several articles on image replacement (though there are controveries about each one). 2.) Might this be the proper time for an image input? I haven't really used them much, but depending on the action that is supposed to occur when a user clicks on it, an input element might be just what you need. As I said, I haven't actually tested these ideas in this context, but I have used images as link backgrounds for headings when plain ol' text wouldn't suffice and it worked quite well. Now I reckon these two ideas don't give you much extra in the way of styling, but they are a bit more semantically meaningful. Technically, I guess that's not the ouvre of this list, but it's generally easier to style something that's put together well. ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/