...

View Full Version : Image Replacement - With a catch!



Kurashu
07-28-2007, 11:16 AM
Ok. It's been since I've been on here. Hi everyone. Anyways. Bit of a problem.


Friend of mine runs a webboard, and we're finding a way to use image replacement on names. Trouble is we're limited to just style the <a> tag and we only have 255 characters to work with. The closest I've come is this bit of CSS:


indent: -9999em;
background: url(http://www.greenbomber.com/imgs/crashman_mug.gif) no-repeat;
display: block;
width: 64px;
height: 64px;
text-decoration: none;


However, the indent isn't making the text disappear, like I thought it would. Everything else works fine, except that.

Any help here?

_Aerospace_Eng_
07-28-2007, 11:23 AM
Thats because its text-indent not indent.

Kurashu
07-28-2007, 05:23 PM
Ah. That'd do it. Thanks.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum