Monday, July 23, 2012

pretty Github ribbon

Github ribbons have moved. See this blog post on Github. Update your templates today! Also, note that the <img ...> in their sample code needs to be closed with either </img> or a slash included at the end of the <img ... />.


For example:
<a href="https://github.com/you"><img style="position: absolute; top: 0; left: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_left_red_aa0000.png" alt="Fork me on GitHub"/></a>
Note the / right at the end. Or ...
<a href="https://github.com/you"><img style="position: absolute; top: 0; left: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_left_red_aa0000.png" alt="Fork me on GitHub"></img></a>
Note the </img> at the end.
Fork me on GitHub