- This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 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’m pretty new to CSS so maybe i am missing something obvious –
In the footer of http://anandaphoto.com/test , the icons under the sub-heading Find Me Online are supposed to be in a straight line. Instead, they are diagonal in IE 7. Firefox is fine.
Any suggestions?
Thanks.
CSS
li.dps a {background-position:0 0; }
li.dps a:hover {background-position:0 -75px; }
li.jpg a {background-position:-76px 0; }
li.jpg a:hover {background-position:-76px -75px; }
li.flickr a {background-position:-151px 0; }
li.flickr a:hover {background-position:-151px -75px; }
li.bepeace a {background-position:-225px 0; }
li.bepeace a:hover {background-position:-225px -75px; }
Markup
Thanks that worked.
I was adding float to the anchor element not just plain old li.icon
Thank you!