> Thierry Koblentz > I think I may have found a new way to enhance the original idea: > The demo (scalable image): > http://www.TJKDesign.com/articles/tip_5.asp > The article: > http://www.TJKDesign.com/articles/tip.asp
Maybe I'm missing the point here, but...have we just come full circle? If you're already adding IMG to the markup, what's the point of doing <h1><img src="/img/helloworld.gif" alt="" />Hello World</h1> and applying lots of CSS to hide the text, if a simple <h1><img src="/img/helloworld.gif" alt="Hello World" /></h1> will do? Another idea behind the IR techniques is the flexibility of defining your images in the CSS, so that you can change them easily later by simply editing your stylesheet. Your technique hardcodes the images in, offering no such benefit (if the image's filename changes, you'll have to go back to all your HTML pages, rather than just editing your CSS). To make it flexible, you could use a dummy placeholder image in the HTML <img src="/img/trans.gif" /> and use CSS background image for the "real" image, but then you may as well use any other element (such as a SPAN in...whatever IR technique I'm thinking of). Nice writeup, but this seems like 2 steps back, rather than a step forward, unless I'm missing something fundamental here... Patrick ________________________________ Patrick H. Lauke Webmaster / University of Salford http://www.salford.ac.uk ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************