Results 1 to 2 of 2

Thread: css styles in javascript

  1. #1
    Join Date
    May 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question css styles in javascript

    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 />

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Put your styles in a stylesheet, not as a query of the source url.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •