Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Aug 2004
    Location
    The US of A
    Posts
    767
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Image Replacement - With a catch!

    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:

    Code:
    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?

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Thats because its text-indent not indent.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #3
    Regular Coder
    Join Date
    Aug 2004
    Location
    The US of A
    Posts
    767
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Ah. That'd do it. Thanks.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •