CSS Sprite Help Floting Icons
2 posters
Page 1 of 1
CSS Sprite Help Floting Icons
Here is my progress
Css part:
Html part:
image used:

Problem:
The last icon that is the RSS icon is heavily misplaced...hover your mouse over it & won't show the URL its supposed to
Css part:
- Code:
.flt-wdt{position:fixed; margin-right:10px; right:0; top:40%;}
.flt-wdt ul{list-style:none;}
.flt-wdt li{background: url(spr1.png) no-repeat;margin:0px;padding-top:0px;list-style:none;}
.flt-wdt li a{height:32px;display:block;}
.flt-wdt :hover{
-moz-transform: scale(1.2) rotate(6deg);
-webkit-transform: scale(1.2) rotate(6deg);
-o-transform: scale(1.2) rotate(6deg);
-ms-transform: scale(1.2) rotate(6deg) translate(0px, 0px) skew(0deg, 0deg);
transform: scale(1.2) rotate(6deg);
}
#flticon-001{ background-position: 0 0; width: 32px; height: 32px; }
#flticon-002{ background-position: 0 -42px; width: 32px; height: 32px; }
#flticon-003{ background-position: 0 -84px; width: 32px; height: 32px; }
#flticon-004{ background-position: 0 -126px; width: 32px; height: 32px; }
Html part:
- Code:
<!DOCTYPE html>
<html>
<head>
<title>Float Icon</title>
<link href='floaticn.css' rel='stylesheet' type='text/css'/>
</head>
<body>
<ul class="flt-wdt">
<li id="flticon-001"><a href="http://www.facebook.com/pages/DefenceDog/183379545033991" target="_blank" title="Follow Me on Facebook"></a></li>
<li id="flticon-002"><a href="http://twitter.com/defencedog" target="_blank" title="Follow Me on Twitter"></a></li>
<li id="flticon-003"><a href="http://feedburner.google.com/fb/a/mailverify?uri=Defencedog&loc=en_US" target="_blank" title="Subscribe by Email"></li>
<li id="flticon-004"><a href="http://feeds.feedburner.com/Defencedog" target="_blank" title="Subscribe to RSS"></li>
</ul>
</body>
</html>
image used:

Problem:
The last icon that is the RSS icon is heavily misplaced...hover your mouse over it & won't show the URL its supposed to

Last edited by ioncube on September 7th 2011, 3:07 pm; edited 1 time in total
Re: CSS Sprite Help Floting Icons
Fix it..
U forgot to add </a>
U forgot to add </a>
- Code:
<a href="http://feeds.feedburner.com/Defencedog" target="_blank" title="Subscribe to RSS"></a>
Re: CSS Sprite Help Floting Icons
^^Thnx for help; but it doesnt solve the problem; you hover your mouse over rss icn & instead of saying 'Subscribe to rss' it shows 'subscribe to email'??


Re: CSS Sprite Help Floting Icons
I think I have serious Optometry issuesshadowz au wrote:Put </a> again.. for email

thnx that solves it well
however do tell me is there an other 'optimisation' you may suggest for my css part

» a sprite?
» Rank sprite request
» Moving luffy sprite on the forum?
» missing banner , icons , mini icons , buttons throughout entire forum
» Get "Custom Topic Icons" & "Default Icons" to display in same forum table cell, substituting one for the other
» Rank sprite request
» Moving luffy sprite on the forum?
» missing banner , icons , mini icons , buttons throughout entire forum
» Get "Custom Topic Icons" & "Default Icons" to display in same forum table cell, substituting one for the other
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum