Wednesday 5 October 2005 — This is more than 19 years old. Be careful.
Sometimes I get stuck obsessing about tiny details. Recently I decided to give my RSS link a standard orange badge. But instead of using an image, I did it with CSS. I’d seen it done before, but I couldn’t find the example I’d seen, so I cobbled it together from some other bits and pieces:
The final code is:
<a
href='blog/rss.xml'
type='application/rss+xml'
style='
padding: 0 .4em;
background: #F60;
color: white;
border: 1px solid;
border-color: #FC9 #630 #330 #F96;
font-weight: bold;
text-decoration: none;
'
>RSS</a>
Comments
http://gustaf.symbiandiaries.com/weblog/scrivener/Ugly-XML.html
Add a comment: