
January 21st, 2004, 08:09 PM
|
 |
May contain nuts.
|
|
Join Date: Aug 2002
Location: Sydney, AU
Posts: 2,058
Time spent in forums: 5 h 6 m 11 sec
Reputation Power: 8
|
|
|
devText - CSS Version
I recently downloaded the RSS feed template for devText (devArticles) and found the code was laiden with nested tables and out-dated HTML (font tags!)
I thought I'd knock up a CSS version.
Code:
<style type="text/css">
#outter {
font-family : Verdana, Helvetica, sans-serif;
padding : 3px;
margin : 1px auto;
width : 167px;
background-color : #fff;
border : 1px solid #000;
}
#outter a {
font-size : 10px;
}
#inner {
padding : 4px;
}
.logo {
color : #f60;
font-size : 10px;
}
</style>
<div id="outter">
<a href="http://www.devarticles.com"><img src="http://www.seochat.com/images/articleboxes/devarticles.gif" alt="Dev Articles - Programming Help And Tutorials For All Development Technologies" width="152" height="24" border=0></a>
<div id="inner">
<script language="JavaScript" src="http://feeds.developershed.com/rssfeed/rss2jsDEVA.php?src=http%3A%2F%2Fwww.devarticles.co m%2Findex2.php%3Foption%3Dmos_rss3%26no_html%3D1&chan=no&num=5&desc=no&date=no"></script>
<div align=right>
<div class="logo"><b>Powered By</b></div>
<a href="http://www.devarticles.com" title="Dev Articles - Programming Help And Tutorials For All Development Technologies">Dev Articles</a>
</div>
</div>
</div>
|