Yeah, although it would work, I think it's a bit more of a kludge (no offense in that term, btw) than using a 'class' in the img tag. (imho)
-- Devlon Duthie http://devlonduthie.com Find great independent video: http://mefeedia.com Frank Carver wrote: > Friday, February 9, 2007, 11:28:23 PM, Joshua Kinberg wrote: > > >>> Although I agree with you Josh, why is class=media-thumbnail better than >>> rel=thumbnail in this example? >>> (It's consistent?) >>> > > >> The only reason is that rel is not valid XHTML attribute for <img> >> > > So why not wrap the image in an anchor tag which _does_ support rel: > > <a href='mythunbnail.jpg' rel='thumbnail'><img src='mythumbnail.jpg'/></a> > > Then it will show fine in browsers, be XHTML compliant, and easy to > scrape while generating a feed. > > Thoughts? > >
