View Full Version : gFeedFetcher display problem

04-07-2011, 08:47 PM
1) Script Title: gAjax RSS Feeds Displayer

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex18/gajaxrssdisplayer.htm

3) Describe problem:

I have 2 rss links in my html code and they are displayed like this:

Cornucopia Framtiden är så ljus att man
måste ha spegelglasögon
DailyMobile Symbian^3: Learn More
About the Nokia E7

How i want them to be displayed is like this (dont bother about the dots it should be spaces):

Cornucopia.......Framtiden är så ljus att man
.......................måste ha spegelglasögon
DailyMobile.......Symbian^3: Learn More
.......................About the Nokia E7

Should the formatting be done in CSS or the actual javascript, can anyone help me with this ?


04-07-2011, 10:40 PM
Well, it will need to be CSS (or HTML, but that would be messy). You can use Javascript to generate that if you want, but Javascript can't, in itself, make things be displayed in a certain way: it just controls existing CSS properties.

If you want help with a specific page, please link to it.

04-08-2011, 08:15 AM
You might try playing around with the CSS for the title field of your RSS to get that desired look. For example, it may look something like this:

#example3 a{ /*CSS specific to demo 3*/
color: #D80101;
text-decoration: none;
font-weight: bold;

where "#example3" is the ID of your RSS feed container. The part in red is new- it forces the title of each RSS entry to be a block element with explicit dimensions, forcing the description to wrap around it. The result should be something close to what you're describing above.

04-11-2011, 05:49 PM
Thanks for all help, it works for me now.