Log in

View Full Version : css styles in javascript



corrupted
06-01-2006, 06:21 AM
hi,

im trying to implement a javascript RSS ticker, which has come css styling tags in it. but they just arent seeming to work, wondering if anyone has any ideas about why its not working?

cheers code as follows:

<script language="JavaScript1.2" src="http://convert.rss-to-javascript.com/scroll/?font=Verdana&font_size=11&bgcolor=719897&fgcolor=666666&src=http%3A%2F%2Ffacingaustralia.com%2Fnews%2F%3Ffeed%3Drss2&target=_blank&pause=1&height=20&width=400&type=3">
</script><noscript>Your browser does not support JavaScript. <a title='RSS-to-JavaScript.com: Free RSS to JavaScript Converter' href=http://www.rss-to-javascript.com/?p=151,427&font=Verdana&font_size=11&bgcolor=719897&fgcolor=666666&src=http%3A%2F%2Ffacingaustralia.com%2Fnews%2F%3Ffeed%3Drss2&target=_blank&pause=1&height=20&width=400&type=3&as_html=1>Click to read the latest news</a>.</noscript>
<a href=http://www.rss-to-javascript.com target=_blank title='RSS-to-JavaScript.com: Free RSS to JavaScript Converter'><img src=http://www.rss-to-javascript.com/images/rss-to-jss-small.gif alt='RSS to JavaScript' border=0 />

jscheuer1
06-01-2006, 06:35 AM
Put your styles in a stylesheet, not as a query of the source url.