I got a php
rss aggregator going on my website. I want the article titles, which are links to the articles, to be font size 16, and I have that specified as such in my style sheet:
Code:
.standtitle {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 16px;
color: #FFFFFF;
font-weight: bold;
}
This usually works without a hitch (see other pages on the site:
links for example), but for some reason the fonts all go to size 12. I've tried using <font> tags and other stuff, but nothing seems to be working. Here's the formatting part of the code I'm dealing with:
Code:
if (isset($rss_channel["ITEMS"])) {
if (count($rss_channel["ITEMS"]) > 0) {
for($i = 0;$i < count($rss_channel["ITEMS"]);$i++) {
print ("<p><span class=\"standttitle\"><a href=\"" . $rss_channel["ITEMS"][$i]["LINK"] . "\" target=\"_blank\"><strong>" . $rss_channel["ITEMS"][$i]["TITLE"] . "</strong></a></span></br>");
print ("<br><span class=\"standtext\">" . html_entity_decode($rss_channel["ITEMS"][$i]["DESCRIPTION"]) . "</span>");
print ("</p>");
}
I'd appreciate any pointers.
P.S. I'm not a programmer. I know a few basic html tags, but for the most part I don't know anything, so try to use layman's terms if you feel like offering a suggestion. Gracias.
