The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Image to HTML CSS Re: Image to HTML CSS


Improved upon @wolfcry911 ‘s code:

It now matches the image’s text positioning on all modern browsers. Also IE7 and IE6 are very close, only the % is a little bit further up.

I also changed the markup a bit in an attempt to give slightly more meaningful semantics. Someone else can probably improve upon that as well :)