Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Social Media Icons Appear as Steps in IE 7

  • This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #40762
    kblake
    Participant

    I’ve changed my CSS a variety of ways and I just can’t get my social media icons aligned for IE7. I even have an IE7 style sheet and no luck. Here is the link, http://newmetj.com

    Any ideas?

    #114098
    Senff
    Participant

    No idea, things look good in my IE7 on Windows 8.

    #114175
    ChrisP
    Participant

    `ul.icons li {
    display: inline-block;
    }`

    #114180
    Senff
    Participant

    …and looks bad on my IE7 on Windows 7, even with display: inline-block. Not sure if that’s just on my end, but if @ChrisP’s solution doesn’t work, I would personally go with float:left; though.

    #114181
    ChrisP
    Participant

    you could just try `display: inline` I know it’s an IE7 bug that I’ve dealt with before..the `float: left;` should work as well.

    [Staircase Bug](http://www.virtuosimedia.com/dev/css/ultimate-ie6-cheatsheet-how-to-fix-25-internet-explorer-6-bugs#staircase-bug “Staircase Bug”)

    #114233
    kblake
    Participant

    Got it! Thanks.

    What I don’t get is I have

    ul.icons li a { float: left; }

    but I still need to use

    ul.icons li { float: left; }

    or

    ul.icons li { display: inline; }

    Both work and I just have it in my ie.css. I tried it i my styles.css and it worked fine there too.

    #114254
    Senff
    Participant

    @kbespinoza: you’ll need to put that on the LI’s because those “interact” with eachother (the A’s within the LI’s are kinda independent and aren’t really relevant to this issue). I believe you can even remove the float:left; from ul.icons li a, as long as the style for ul.icons li is still the same.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘CSS’ is closed to new topics and replies.