473,387 Members | 1,512 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

a css challenge: how to style rss-feeds...

hi,

is there a way to style rss-feeds so you can insert spacing BETWEEN
them? for example here..

http://www.mayacove.com/news.html

it seems impossible to style so you can insert spacing in between the
headlines.. is there a way around this??

code for this is javascript code, thus:

<script language="JavaScript"
src="http://itde.vccs.edu/rss2js/feed2js.php?src=http%3A%2F%2Fwww.nytimes.com%2Fser vices%2Fxml%2Frss%2Fnyt%2FAmericas.xml&chan=n&num= 3&desc=3&date=y&targ=n"
type="text/javascript"></script>
thank you..

Sep 23 '07 #1
2 2227
maya wrote:
>
is there a way to style rss-feeds so you can insert spacing BETWEEN
them? for example here..

http://www.mayacove.com/news.html

it seems impossible to style so you can insert spacing in between the
headlines.. is there a way around this??
Not *that* impossible. Add to the CSS:

li.rss_item { margin-bottom:1em; }
a.rss_item { display:block; margin-top:.5em; }

First line above affects spacing between feed items.
Second line above provides spacing between headline and its lede,
posting info, etc.
Change the numeric values to taste.
--
John
Pondering the value of the UIP: http://improve-usenet.org/
Sep 23 '07 #2
John Hosking wrote:
maya wrote:
>>
is there a way to style rss-feeds so you can insert spacing BETWEEN
them? for example here..

http://www.mayacove.com/news.html

it seems impossible to style so you can insert spacing in between the
headlines.. is there a way around this??

Not *that* impossible. Add to the CSS:

li.rss_item { margin-bottom:1em; }
a.rss_item { display:block; margin-top:.5em; }

First line above affects spacing between feed items.
Second line above provides spacing between headline and its lede,
posting info, etc.
Change the numeric values to taste.

very interesting.. googled 'css rss_item' and found this, among others..
http://www.globalissa.net/help/feed_css.php
and this..
http://www.webmaster-talk.com/css-fo...css-hover.html

thank you....
Sep 23 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: clintonG | last post by:
I'm wondering if any subscribers would care to offer brief comments -- pro *and* con -- regarding the fact that RSS 2.0 is now extensible, notably by using namespaces. <%= Clinton Gallagher NET...
0
by: Andy Dingley | last post by:
From http://miscoranda.com/131 > >I'm pleased to announce the release of the RSS 1.1 Specification. >http://inamidst.com/rss1.1/ >This is a bugfix version of RSS 1.0 that I've developed with...
15
by: SamMan | last post by:
Sorry for the off-topic, but I could not find another source on my news server... What is the difference in extensions for RSS files? I have seen both .rss & ..xml. I am familiar with XML, but...
5
by: glegipon | last post by:
As Tom Cahill would require, my challenge is (according to the "three R's") Reproducible: if run on OS 9.x, the monthly payment does not show up in the text box: Recognizable: I believe the...
0
by: wannieb | last post by:
Does any one know of any ticker tape RSS feed reader scripts to go on a website, as I can only fine vertical one. I know you can do a ticker tape style as most RSS readers which go to desktop are...
4
by: sck10 | last post by:
Hello, I created an ashx file for my rss feed (rss.ashx). I notice on the site (http://rss.msnbc.msn.com/id/3032091/device/rss/rss.xml) that the date (Yesterday, October 30, 2006, 3:02:37 PM)...
2
by: LazyLarry | last post by:
Hi there, I need serious help. Ive got a project that needs some unique select box function. OK THERE IS A LOT OF Code but If you Crack it youll get the credit. just mail me at...
3
by: Thierry | last post by:
For those interested in <b>programming riddles</b>, I would like to announce a new programming challenge I'm just launching at http://software.challenge.googlepages.com This challenge is in its...
3
by: orbitrobert | last post by:
hi there, i'm having a difficult time inserting a scrolling div into a table. i'm a graphic designer and want to use the scrolling div on the portfolio page of my site. i find that everything...
7
by: chromis | last post by:
Hi, I've created a utf8 encoded RSS feed which presents news data drawn from a database. I've set all aspects of my database to utf8 and also saved the text which i have put into the database as...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.