SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Enthusiast
    Join Date
    Jul 2006
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Text-indent giving annoying bounding box

    Hey Chaps/Chapesses,

    http://firstserver1.net/davew/checkit/

    On the above test site I have used some image replacement for my Main Nav. I have used 'text-indent' to remove the html link, but when the buttons are clicked in FireFox I get a bounding box that wraps around the indented text. anyone know how to get rid of it?

    Cheers Guys

  2. #2
    Design Your Site Team bronze trophy Erik J's Avatar
    Join Date
    May 2007
    Location
    Countryside, Sweden
    Posts
    3,407
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just a newbe thought. What happens if you set the ul font-size to zero, of course the a-element must have a height, maybe the li too for IE6.

    Does that work, what drawbacks can be expected? Can't test it.
    Happy ADD/ADHD with Asperger's

  3. #3
    SitePoint Guru alecrust's Avatar
    Join Date
    Jun 2007
    Location
    London, UK
    Posts
    728
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can you show us a screenshot? I'm not sure what you mean.
    Honda Civic Forum - UK Civic Forum
    Web Host Reviews - Independent, honest host reviews
    My Portfolio - Simplicity is the ultimate sophistication

  4. #4
    SitePoint Wizard bronze trophy Centauri's Avatar
    Join Date
    May 2007
    Location
    Newcastle, Australia
    Posts
    3,718
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I assume you found it with the outline property?

  5. #5
    SitePoint Enthusiast
    Join Date
    Jul 2006
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    fixed it

    Yes,

    a:focus {outline: none;}

    Cheers


Bookmarks

Posting Permissions

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