joym
01-27-2009, 10:30 AM
I am trying to get the images on this page, http://vha0018.moc.gbahn.net/rss_test.html, to display beside each other.
I am using the existing div tags to style the items but it's not working for me.
I'm not very good with CSS so any help would be greatly appreciated!
You can see the code used to build the page here, http://vha0018.moc.gbahn.net/rss/rss2js.php?rss_url=http://vha0018.moc.gbahn.net/celebrate/rss.php?action=images&rss_chars=100&rss_target=_top (view source)
and here is my stylesheet:
/* Channel title & link */
.rsslibchannel,.rsslibchannel:visited {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10pt;
color: #FFFFFF;
text-decoration: none;
font-weight: bold;
float:left;
margin-right:4px;
}
.rsslibchannel:hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10pt;
color: #FFFF99;
text-decoration: none;
font-weight: bold;
float:left;
margin-right:4px;
}
/* Item title & link */
.rsslibitem,.rsslibitem:visited {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 9pt;
color: #000099;
font-weight: bold;
float:left;
margin-right:4px;
}
.rsslibitem:hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 9pt;
color: #990000;
text-decoration: none;
font-weight: bold;
float:left;
margin-right:4px;
}
/* Item description */
.rsslibdesc {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 9pt;
color: #666666;
margin-bottom: 0px;
float:left;
border:0px;
margin-right:4px;
}
/* Channel Editor */
.rsslibeditor {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 8pt;
color: #999999;
float:left;
margin-right:4px;
}
/* Channel Date */
.rsslibdate {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 8pt;
color: #999999;
float:left;
margin-right:4px;
}
/* Channel Copyright */
.rsslibcopyright {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 8pt;
color: #AAAAAA;
float:left;
margin-right:4px;
}
.gallery_item {float:left;margin-right:4px;}
.gallery_item img {float:left;border:0px;margin-right:4px;}
rsslibitem {float:left;margin-right:4px;}
.rsslibitem {float:left;margin-right:4px;}
rsslibdesc {float:left;margin-right:4px;}
.rsslibdesc {float:left;margin-right:4px;}
rsslibitem img {float:left;border:0px;margin-right:4px;}
.rsslibitem img {float:left;border:0px;margin-right:4px;}
rsslibdesc img {float:left;border:0px;margin-right:4px;}
.rsslibdesc img {float:left;border:0px;margin-right:4px;}
rsslibdate {float:left;margin-right:4px;}
.rsslibdate {float:left;margin-right:4px;}
rsslibcopyright {float:left;margin-right:4px;}
.rsslibcopyright {float:left;margin-right:4px;}
rsslibchannel {float:left;margin-right:4px;}
.rsslibchannel {float:left;margin-right:4px;}
I am using the existing div tags to style the items but it's not working for me.
I'm not very good with CSS so any help would be greatly appreciated!
You can see the code used to build the page here, http://vha0018.moc.gbahn.net/rss/rss2js.php?rss_url=http://vha0018.moc.gbahn.net/celebrate/rss.php?action=images&rss_chars=100&rss_target=_top (view source)
and here is my stylesheet:
/* Channel title & link */
.rsslibchannel,.rsslibchannel:visited {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10pt;
color: #FFFFFF;
text-decoration: none;
font-weight: bold;
float:left;
margin-right:4px;
}
.rsslibchannel:hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10pt;
color: #FFFF99;
text-decoration: none;
font-weight: bold;
float:left;
margin-right:4px;
}
/* Item title & link */
.rsslibitem,.rsslibitem:visited {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 9pt;
color: #000099;
font-weight: bold;
float:left;
margin-right:4px;
}
.rsslibitem:hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 9pt;
color: #990000;
text-decoration: none;
font-weight: bold;
float:left;
margin-right:4px;
}
/* Item description */
.rsslibdesc {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 9pt;
color: #666666;
margin-bottom: 0px;
float:left;
border:0px;
margin-right:4px;
}
/* Channel Editor */
.rsslibeditor {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 8pt;
color: #999999;
float:left;
margin-right:4px;
}
/* Channel Date */
.rsslibdate {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 8pt;
color: #999999;
float:left;
margin-right:4px;
}
/* Channel Copyright */
.rsslibcopyright {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 8pt;
color: #AAAAAA;
float:left;
margin-right:4px;
}
.gallery_item {float:left;margin-right:4px;}
.gallery_item img {float:left;border:0px;margin-right:4px;}
rsslibitem {float:left;margin-right:4px;}
.rsslibitem {float:left;margin-right:4px;}
rsslibdesc {float:left;margin-right:4px;}
.rsslibdesc {float:left;margin-right:4px;}
rsslibitem img {float:left;border:0px;margin-right:4px;}
.rsslibitem img {float:left;border:0px;margin-right:4px;}
rsslibdesc img {float:left;border:0px;margin-right:4px;}
.rsslibdesc img {float:left;border:0px;margin-right:4px;}
rsslibdate {float:left;margin-right:4px;}
.rsslibdate {float:left;margin-right:4px;}
rsslibcopyright {float:left;margin-right:4px;}
.rsslibcopyright {float:left;margin-right:4px;}
rsslibchannel {float:left;margin-right:4px;}
.rsslibchannel {float:left;margin-right:4px;}