- This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
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?
No idea, things look good in my IE7 on Windows 8.
`ul.icons li {
display: inline-block;
}`
…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.
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”)
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.
@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.