SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Enthusiast
    Join Date
    Sep 2005
    Posts
    87
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Problem with one button

    Hi

    Why on IE I get a border around the middle button?
    http://raktext.co.il/

    any ideas?
    thanks!

  2. #2
    SitePoint Wizard Stomme poes's Avatar
    Join Date
    Aug 2007
    Location
    Netherlands
    Posts
    10,283
    Mentioned
    51 Post(s)
    Tagged
    2 Thread(s)
    Which button is "the middle button"? I am looking in Firefox and all three buttons under each post seem to have a border.

    You don't have any actual buttons on your page. Neither <button>s or <input type="submit">, but images and divs with onclick methods. So if you can point out which "button" has the border in IE, it's probably a simple CSS matter and it should be easy for us to solve.

    You could take a screenshot and circle the button in question for us.

  3. #3
    SitePoint Mentor bronze trophy
    ronpat's Avatar
    Join Date
    Jun 2012
    Location
    NJ, USA
    Posts
    2,584
    Mentioned
    65 Post(s)
    Tagged
    2 Thread(s)
    Hi, @Stomme poes . This is a screenshot of IE8. The middle button in each row along the right has a prominent blue border. The box seems to be associated with a Facebook link.

    raktext.jpg

  4. #4
    SitePoint Wizard Stomme poes's Avatar
    Join Date
    Aug 2007
    Location
    Netherlands
    Posts
    10,283
    Mentioned
    51 Post(s)
    Tagged
    2 Thread(s)
    Thanks! I'll be able to check it out at $work later today.

  5. #5
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,481
    Mentioned
    182 Post(s)
    Tagged
    6 Thread(s)
    IE applies a default blue border to linked images (why did they think that was a good idea?). You should add this rule to your main reset by default to remove it.

    Code:
    a img{border:none}

  6. #6
    SitePoint Enthusiast
    Join Date
    Sep 2005
    Posts
    87
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you very much
    that did the trick


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
  •