PDA

View Full Version : RSS Ticker need margin help



sanddlife
12-23-2007, 02:15 AM
1) Script Title:
Advanced RSS Ticker (Ajax invocation)

2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex17/rsstickerajax/index.htm

3) Describe problem:
Using Yahoo Top Stories RSS feed, the images and text have no padding between them. Would prefer to have a 2-3 px padding area to separate the image from the story text.

I cannot locate anywhere in the code that would be an easy place to separate the two items.

Anyone?

TIA,
Sanddlife

ddadmin
12-23-2007, 08:46 AM
You should be able to use CSS to change most of the visual styles of the RSS ticker. In this case, something that targets images should do:


.cnnclass img{
margin: 5px
}

for example. You'll need to change "cnnclass" to the CSS class you're assigning your RSS ticker.