Radio Fun
Radio UserLand, RSS, Weblog Tools and Design
Thursday, February 27, 2003
Doing Away With Button Images Thanks to CSS.
What is RSS?. Mark Pilgrim (well known in the blogging community) has just written an introductory article on RSS. This walks through the various different versions of RSS, and provides XML examples. To quote: RSS is a format for syndicating news and the... [Column Two]
News.Com has a new page describing their RSS feeds. [Scripting News]
Radio UserLand, RSS, Weblog Tools and Design
Doing Away With Button Images Thanks to CSS.
Dylan Greene did the button in CSS , which is precisely as politically correct as the PNG version. [Scripting News]
This is great! Surprised no one thought of this sooner.
In fact, here's a translation of the instance CSS to a class so that you can stuff it in a stylesheet and reuse it for all types of buttons in your page:
a.standardsButton
{
border:1px solid;
border-color:#ffc8a4 #7d3302 #3f1a01 #ff9a57;
padding:0px 3px 0px 3px;
font:bold 10px verdana,sans-serif;
color:#FFFFFF; background-color:#ff6600;
text-decoration:none;
margin:0px;
}
Then, you can use something like so:
<a class="standardsButton" href="http://www.xmlrpc.com">XML-RPC</a> [Drew's Blog] 11:58:45 PM
categories: Radio Fun
What is RSS?. Mark Pilgrim (well known in the blogging community) has just written an introductory article on RSS. This walks through the various different versions of RSS, and provides XML examples. To quote: RSS is a format for syndicating news and the... [Column Two]
News.Com has a new page describing their RSS feeds. [Scripting News]