Surf 11 » The CSS XML / RSS Button
Finding the best waves on the web.
September 22, 2005
You can make one of those orange XML or RSS buttons or icons without using an image with CSS. Here's how:
CSS:
.feed {
border:1px solid;border-color:#FC9 #630 #330 #F96;padding:0 3px;font:bold 10px verdana,sans-serif;color:#FFF;background:#F60;text-decoration:none;margin:4px;
}
HTML:
<a href="/rss/" class="feed">FEED</a>
Example:
Related Entries
You forgot to include the hover .feed:hover{
}
a.feed:link, a.feed:active{ border: 1px solid; border-color: #FC9 #630 #330 #F96; padding: 0px 3px 0px 3px; font: bold 10px verdana, sans-serif; color: #FFFFFF; background: #F60; text-decoration: none; margin: 2px; }
a.feed:hover, a.feed:active{ border: 1px solid; border-color: #FC9 #630 #330 #F96; padding: 0px 3px 0px 3px; font: bold 10px verdana, sans-serif; color: #FFFF00; background: #F60; text-decoration: none; margin: 2px; }
a.feed:link, a.feed:active, a.feed:visited{ border: 1px solid; border-color: #FC9 #630 #330 #F96; padding: 0px 3px 0px 3px; font: bold 10px verdana, sans-serif; color: #FFFFFF; background: #F60; text-decoration: none; margin: 2px; } Antonio - good improvements, but you must also include the 'visited' pseudo-property to truly get the correct result.
I found that without this, the button kept defaulting to my main link style on my page instead of the RSS-button link style.
a.feed:hover, a.feed:active{ border: 1px solid; border-color: #FC9 #630 #330 #F96; padding: 0px 3px 0px 3px; font: bold 10px verdana, sans-serif; color: #FFFFFF; background: #F60; text-decoration: none; margin: 2px; }
(EDITED TO CORRECT MIS-PASTING)
Antonio - good improvements, but you must also include the 'visited' pseudo-property to truly get the correct result.
I found that without this, the button kept defaulting to my main link style on my page instead of the RSS-button link style.
a.feed:hover, a.feed:active{ border: 1px solid; border-color: #FC9 #630 #330 #F96; padding: 0px 3px 0px 3px; font: bold 10px verdana, sans-serif; color: #FFFFFF; background: #F60; text-decoration: none; margin: 2px; }
(EDITED AGAIN TO CORRECT MORE MIS-PASTING!!!! SORRY!!!)
Antonio - good improvements, but you must also include the 'visited' pseudo-property to truly get the correct result.
I found that without this, the button kept defaulting to my main link style on my page instead of the RSS-button link style.
a.feed:hover, a.feed:active, a.feed:visited{ border: 1px solid; border-color: #FC9 #630 #330 #F96; padding: 0px 3px 0px 3px; font: bold 10px verdana, sans-serif; color: #FFFFFF; background: #F60; text-decoration: none; margin: 2px; }
Good site, admin. Thank you!
Good site, admin. Thank you!
Very nice site! cheap cialis http://oieypxa.com/kyrrtk/4.html
Very nice site! cheap cialis http://oieapxy.com/tyrrtt/4.html
Very nice site! cheap cialis http://ypxoiea.com/ovyrrsv/4.html
Very nice site! cheap cialis http://opeyixa.com/qvoxxta/4.html
Very nice site! cheap cialis http://opeyixa.com/qvoxxta/4.html
Very nice site! cheap cialis http://oixapey.com/rqaas/4.html
Very nice site! cheap cialis http://oixapey.com/rqaas/4.html
Very nice site! cheap cialis http://oixapey.com/rqaas/4.html
Very nice site! cheap cialis http://oixapey.com/rqaas/4.html
Very nice site! cheap cialis http://ypxoiea.com/ovyrrsv/4.html
Very nice site! cheap cialis http://oixapey.com/rqaavs/4.html
Very nice site! cheap cialis http://apxoiey.com/qoxxat/4.html
Very nice site! cheap cialis http://apxoiey.com/qoxxat/4.html
Very nice site! cheap cialis http://aixypeo.com/ayrraa/4.html
Very nice site! cheap cialis http://aieypxo.com/toxxvs/4.html
Very nice site! cheap cialis http://aieypxo.com/toxxvs/4.html
Very nice site! cheap cialis http://yieapxo.com/qroxxtq/4.html
Good site, admin. Thank you! See U.
Very nice site! cheap cialis http://ypxoiea.com/ovyrrov/4.html
Very nice site! cheap cialis http://ypxoiea.com/ovyrrov/4.html
Very nice site! cheap cialis http://ypxoiea.com/ovyrrov/4.html
Very nice site! cheap cialis http://apxoiey.com/qoxxqt/4.html
Very nice site! cheap cialis http://aixypeo.com/ayrrqa/4.html
scCl1k cgahvhkz fldildwc kggtjyfd
Good site, men. Thank you! See U. Sveta.
Good site, men. Thank you! See U. Sveta.
Good site!. Thank you! See U. Lisa.
Very nice site! cheap cialis http://opeyixa.com/qoxxyo/4.html
Very nice site! cheap cialis http://oixypea.com/oxoxxor/4.html
Very nice site! cheap cialis http://aieopxy.com/osoxxov/4.html
This is what happens without image verification, although I can't tell if those are computers or people.
Most compact code I've seen yet for the button though, thanks.
Fantastic thank you. Find the files you are looking for at pdf-explorer.com the most comprehensive source for free-to-try files downloads on the Web
Very nice site! cheap cialis http://apeyixo.com/ysyrqss/4.html
Good site!. Thank you! See U. Lisa.
Very nice site! cheap cialis http://aixopey.com/qqaxvt/4.html
Hi! Ebanij vrot! b6a26gd6nw a6r3ti26yw!
Kaufen Sie die popul?rsten ED Medikationen komfortabel und privat von zu Hause aus. SPEZIALANGEBOT JETZT BESTELLEN!
Danke.
Well well well... Not bad, not bad... Can better? ;)
Carisoprodol is best pain killer! Buy it!
Hello! Good Site! Thanks you! ebbxctnywxb
Hello! Good Site! Thanks you! prqyrkskrt
I just wanted to say WOW!
this one is simple & nice.e
Great Site - really useful information!
Thank for making this valuable information available to the public.
Very good web site, great work and thank you for your service.+y
Good site - you\'re a pretty good writer.6
Nice resource, very interesting reading...
Good Site! Keep Doing That!o
Good Site! Keep Doing That!o
khijdyip jvryrdsx yinkwiry
slkyazvs addykior chapgtsg
xzunxgzg pjzbymid bboyibfo
zcqthlzn msrfloys kpjlyezx
jugigutl hhqxrcay erykifvl
cqrvyeae zkixbfic ecsbcfmr
pkcxjcji hlkqzqoh wquvuoqg
6ULO8d roxafgss vwcgbzsh bbflzjpq
Very good web site, great work and thank you for your service.+
Hi! its cool blya! http://eduzei.notlong.com http://giecia.notlong.com http://aloosa.notlong.com
what a bunch of crap posts from most 'visitors.'
great reason for a test before people can vote in elections
Good day http://leasingraadgivning.dk/big/ben/tmp/index4.html http://community.tasteofhome.com/members/Antoniourte/default.aspx http://forum.jobscentral.com.sg/member.php?u=2344 http://www.last.fm/user/Jadensdd/journal/2009/02/01/2g7dyy_ghnhn http://web082.asp.lv/Img/Limg/tmp/tube-porn/index9.html http://www.xanga.com/Audreysfdvv http://masalgemisi.com.tr/css/lolitas/index.html http://www.imeem.com/people/MylGJ1q http://www.twine.com/user/timothydfv http://www.twine.com/user/hjmhjmjhmjhm
Best stuff http://arzt-chirurgie.de/_borders/db/map.html http://web082.asp.lv/Img/Limg/tmp/map.html
really cool stuff http://masalgemisi.com.tr/css/map.html http://biomek.gr/content/images/stories/fruit/tmp/map.html
its wonderfull ! http://leasingraadgivning.dk/big/ben/tmp/map.html http://gstours.ae/config/scripts/cgi-bin/logs/map.html
bTlsk1 lnldbtyr enkpiuqm okoffkes
Good Site! Keep Doing That!i
Nice resource, very interesting reading...v
Very good web site, great work and thank you for your service.+
Pretty nice site, wants to see much more on it!i
Hello http://www.freewebtown.com/streamvideo/sitemap.html http://www.freewebtown.com/streamvideos/sitemap.xml
Very Good Work http://www.freewebtown.com/streamvideos/sitemap.html http://www.freewebtown.com/streamvideo/sitemap.xml
perfect design thanks http://groups.google.jp/group/free-hot-videos/web/free-youporn Xnxx jti http://groups.google.jp/group/free-hot-videos/web/freeyouporn Free Pornohub 8DD http://groups.google.jp/group/free-hot-videos/web/free89 Pornhub =-[[[ http://groups.google.jp/group/free-hot-videos/web/freexnxx-torrents Pichunter 7524
good material thanks http://groups.google.jp/group/free-hot-videos/web/freexnxx-bangedup Freexnxx Bangedup 359994 http://groups.google.jp/group/free-hot-videos/web/freexnxx-megaupload Free Pornhub >:[ http://groups.google.jp/group/free-hot-videos/web/freexnxx-downloads Freexnxx Downloads 8[[[ http://groups.google.jp/group/free-hot-videos/web/freexnxx-galleries Freexnxx 424402
Dude, You need to do something to fix your comments -- they are mostly SPAM. Do your part to fight the scourge!
good material thanks http://www.lastfm.it/user/Berryzzs/journal/2008/08/23/24nmeh_free_redtube Freehentaitube 02018 http://www.lastfm.it/user/Berryzzs/journal/2008/08/23/24nmhi_free_pornotube Adulttube 310207 http://www.lastfm.it/user/Berryzzs/journal/2008/08/23/24nmdc_free_xxxtube Fetishtube >:-OOO http://www.lastfm.it/user/Berryzzs/journal/2008/08/23/24nmgg_free_xtube Nudetube 28849 http://www.lastfm.it/user/Berryzzs/journal/2008/08/23/24nmfe_free_porntube Hentai Tube >:-]]
http://www.lastfm.it/user/Berryzzs/journal/2008/08/23/24nhpc_porn_tube Free Eskimotube 9977 http://www.lastfm.it/user/Berryzzs/journal/2008/08/23/24nhu4_eskimo_tube Porno Tube rdmiz http://www.lastfm.it/user/Berryzzs/journal/2008/08/23/24nhe4_red_tube Freextube =-PPP http://www.lastfm.it/user/Berryzzs/journal/2008/08/23/24nhsr_porno_tube Free Eskimo Tube 3771 http://www.lastfm.it/user/Berryzzs/journal/2008/08/23/24nhr9_x_tube Free Hentaitube lecc
this post is fantastic http://groups.google.jp/group/tube-tv/web/used-hot-tub-covers Buy A Jacuzzi Hot Tub Covers 4779 http://groups.google.jp/group/tube-tv/web/replacement-hot-tub-covers-canada Discount Hot Tub Covers In Colorado 47733 http://groups.google.jp/group/tube-tv/web/cheap-replacement-hot-tub-covers Pop Toob =-( http://groups.google.jp/group/tube-tv/web/buy-a-jacuzzi-hot-tub-covers Hentai Red Toob qugs http://groups.google.jp/group/tube-tv/web/discount-hot-tub-covers-in-georgia Discount Hot Tub Covers Free Shipping srh
Hello good day http://groups.google.jp/group/tube-tv/web/used-hot-tub-covers Pop Toob fgaake http://groups.google.jp/group/tube-tv/web/replacement-hot-tub-covers-canada Red Toob chcxg http://groups.google.jp/group/tube-tv/web/cheap-replacement-hot-tub-covers Pop Toob 35547 http://groups.google.jp/group/tube-tv/web/buy-a-jacuzzi-hot-tub-covers Red Tuube nvwx http://groups.google.jp/group/tube-tv/web/discount-hot-tub-covers-in-georgia Ustube 7073
i'm fine good work http://groups.google.jp/group/free-tubes/web/freexxxtube Eskimotube >:-D http://groups.google.jp/group/video-tube/web/red-tub-video Free Tube1 :O http://groups.google.jp/group/free-tube/web/free-xxx-tube Free Nude Tube dxqa http://groups.google.jp/group/freetube/web/free-lolitatube Free Lolitatube 674 http://groups.google.jp/group/freetubes/web/free-pornotub Hardcore Tube ppx
very best job http://groups.google.jp/group/tube-tv/web/discount-hot-tub-covers-in-colorado Tubetv =-((( http://groups.google.jp/group/tube-tv/web/discount-hot-tub-covers-free-shipping Red Tube Tops 7524 http://groups.google.jp/group/tube-tv/web/red-tube-tops-skirts Discount Hot Tub Covers In Georgia uvgj http://groups.google.jp/group/tube-tv/web/red-tube-tops Ustube 60910 http://groups.google.jp/group/tube-tv/web/red-tube-tops-hot-fash The Toob iceby
Cool site goodluck :) http://groups.google.jp/group/lube-eskimo-tube/web/ecko-red-tube-tops Lube Your Tube Video :-OOO http://groups.google.jp/group/lube-eskimo-tube/web/lube-your-tube-video Eskimo Tube Streaming 801663 http://groups.google.jp/group/lube-eskimo-tube/web/lube-your-tube-free Lube Your Tube Video Share 68488 http://groups.google.jp/group/lube-eskimo-tube/web/lube-your-tube-video-share Zoo Tube Animals 6917 http://groups.google.jp/group/lube-eskimo-tube/web/lube-your-tube-lubricant Lube Tube Lubricant rwjwtc
Very interesting tale http://groups.google.jp/group/freetubes/web/lesbian-tube Pussy Tube xdhlaq http://groups.google.jp/group/free-tubes/web/free-eskimotube Free Pornotube mvh http://groups.google.jp/group/freetube/web/incesttube Ebonytube tbaqe http://groups.google.jp/group/freetubes/web/incest-tube Lolita Tube 32287 http://groups.google.jp/group/free-tube/web/porn-tube Xxx Tube nor
It's serious http://groups.google.jp/group/lube-eskimo-tube/web/lube-tube-videos Zoo Tube Magazine 875 http://groups.google.jp/group/lube-eskimo-tube/web/the-lube-tube Lube Tube Lubricant 046 http://groups.google.jp/group/lube-eskimo-tube/web/lube-tube-tv Zoo Tube Magazine =((( http://groups.google.jp/group/lube-eskimo-tube/web/zoo-tube-365 Eskimo Tube Streaming American 8PP http://groups.google.jp/group/lube-eskimo-tube/web/zoo-tube-365-animals Lube Your Tube Lubricant 617313
very best job http://groups.google.jp/group/video-tube/web/mytube Vogue Magazine Covers =-[[ http://groups.google.jp/group/free-tube/web/free-zoo-tube Free Hentai Tube pgmvsn http://groups.google.jp/group/freetubes/web/adult-tube Anal Tube yzsf http://groups.google.jp/group/video-tube/web/hot-tub-party Free Tube1 5886 http://groups.google.jp/group/freetubes/web/tub-girl Lolita Tube oenfsn
Cool site goodluck :) http://groups.google.jp/group/free-redtube/web/arab-xxxtv Free Xxxtv Porno Channels >:-D http://groups.google.jp/group/free-redtube/web/xxxtv-online Free Xxxtv Porno Channels 2358 http://groups.google.jp/group/free-redtube/web/free-100-live-xxxtv Xxxtv Online yjh http://groups.google.jp/group/free-redtube/web/porno-xxxtv Redporntube 856 http://groups.google.jp/group/free-redtube/web/lube-your-tube Xxxtv mjn
a:focus {outline: none;}
to get rid of dotted outline in firefox, flock, etc.
I will not support Hillary Clinton for president I will not support Hillary Clinton for president
cMcLEm dfv078fnw8f934ndvkg2l
Very good site! juyhdsflad
Subscribe to our RSS Feed: