On Wed, 19 Jan 2005 16:25:55 +1000, Andrew Krespanis
<[EMAIL PROTECTED]> wrote:
> I've never gotten that technique to work properly in Opera. It always either
> a) makes scrollbars
> b) displays some of the text despite insane negative text-indent values...

curious.  in Opera 7.54, Firefox 1.0 and IE 5.5 and 6.0 (on Win), this
works for me - the image is shown and linked, with no text visible:

html:
<a href="blah.html" class="indenttest">link text</a>

css:
.indenttest {
display: block;
height: 40px; /* image dimensions */
width: 200px;
text-indent: -9999px;
background: transparent url("imageurlgoeshere.png");
}

it appears that Opera starts spewing text all over the place if you
specify the text-indent in em.
******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to