Results 1 to 7 of 7

Thread: :hover moving unrelated images in IE7

  1. #1
    Join Date
    Jun 2008
    Posts
    40
    Thanks
    2
    Thanked 4 Times in 4 Posts

    Default :hover moving unrelated images in IE7

    I was hoping someone could lend me a hand/thoughts on this...

    http://test.bitballot.com/login/101

    Very simply, hovering over the buttons shifts the border of the login box, as well as the border of the section, even though the css for that page has nothing to do with either of those elements. Can anyone lend me any thoughts?

  2. #2
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    Hmm...very peculiar.

    I can't pinpoint why that's happening. But, it's certainly due to the over-usage of divs to create that border. There are better ways to do it that require less markup.

    I suspect if you can trim that down, you'll get rid of the problem.

  3. #3
    Join Date
    Jun 2008
    Posts
    40
    Thanks
    2
    Thanked 4 Times in 4 Posts

    Default

    Can you suggest anyway to do it? I've seen sliding-door borders before that used that many... I can't think of any other way to do it without ending up doing something like fixing the width.

  4. #4
    Join Date
    Jun 2008
    Posts
    40
    Thanks
    2
    Thanked 4 Times in 4 Posts

    Default

    I updated the code to reduce the number of divs by making it less sliding door. The issue still persists, because of the buttons.

  5. #5
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Take a look at this tutorial:
    http://css-tricks.com/video-screencasts/24-rounded-corners/
    My recommendation would be to use CSS3 to create the rounded corners. That would only work in Fx and Safari but hopefully other browsers will catch on.

    Good luck!

  6. #6
    Join Date
    Jun 2008
    Posts
    40
    Thanks
    2
    Thanked 4 Times in 4 Posts

    Default

    Thanks for the tutorial, although I have no difficulty with rounded corners :-)

    However, even without the border, the issue persists. I've figured out it has something to do with the buttons, but for the life of me, I can't figure out what.

  7. #7
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Well, whatever you did it seems to work because I don't get the shift anymore in IE7. Does it still do it for you?

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
  •