Reply
Using RSS on own site to highlight own content
Old 10-17-2005, 07:06 AM
webfreak's Avatar
Extreme Talker

Posts: 236
Location: USA
Try using a class for the links and wrap the script in <div class=" "> and </div> tags.
webfreak is offline
Reply With Quote
View Public Profile Visit webfreak's homepage!
 
Old 10-17-2005, 11:09 AM
Skilled Talker

Posts: 76
For some reason that doesn't work.. Beats me. Here's the CSS I used:

Code:
<STYLE TYPE="text/css">
<!--
.feed
{
a:link {text-decoration: none; font-family: arial; color: black;}
a:visited {text-decoration: none; font-family: arial; color: black;}
a:hover {text-decoration: none; border-bottom: dotted 1px black; font-family: arial color: 

black;}
a:active {text-decoration: none; border-bottom: dotted 1px black; font-family: arial color: 

black;} 
}
-->
</STYLE>
And then I wrapped

Code:
[div class="feed']table with feed[/div]
around the table. Now I know you can use CSS instead of tables, but one thing at a time. My brain is going to explode.

Anyways, that doesn't want to work. You can see what it does look like so far though. I have gotten somewhere with it

http://www.northernprotocol.com/articles/bizlaptop.php
SirKenin is offline
Reply With Quote
View Public Profile
 
Old 10-17-2005, 05:05 PM
webfreak's Avatar
Extreme Talker

Posts: 236
Location: USA
Make sure you use <div class="feed"> </div>
webfreak is offline
Reply With Quote
View Public Profile Visit webfreak's homepage!
 
Old 10-17-2005, 05:16 PM
Skilled Talker

Posts: 76
Quote:
Originally Posted by webfreak
Make sure you use <div class="feed"> </div>
Yeah I did. Sorry, I made some typos in my hurry. Not focusing here.

Any other ideas what it could be? I'll reprint the php code to see if you can figure it out.

Code:
<?
include_once("nbxmlconfig.php");
XMLRandomHeadlines("<a href=\"<xmlurl>\" target=\"_self\"><font face=\"Arial\" color=\"#000000\" size=\"2\"><xmltitle></font></a><br><br />", 6);
?>
SirKenin is offline
Reply With Quote
View Public Profile
 
Old 10-17-2005, 09:34 PM
monkey's Avatar
Ultra Talker

Posts: 439
try doing this

Code:
.feed a:link {text-decoration: none; font-family: arial; color: black;}
.feed a:visited {text-decoration: none; font-family: arial; color: black;}
.feed a:hover {text-decoration: none; border-bottom: dotted 1px black; font-family: arial color: black;}
monkey is offline
Reply With Quote
View Public Profile Visit monkey's homepage!
 
Old 10-17-2005, 09:42 PM
Skilled Talker

Posts: 76
I tried that and it still didn't work. I can't believe this. It can't POSSIBLY be this hard. I must be missing something stupid, but I don't know what it is.

The test page I'm using is http://www.northernprotocol.com/articles/biztest.php

Maybe if you wish to view the source to locate the problem? I am truly stumped (I guess it doesn't take much).
SirKenin is offline
Reply With Quote
View Public Profile
 
Old 10-17-2005, 11:35 PM
monkey's Avatar
Ultra Talker

Posts: 439
im not at my computer right now, so i can't really play with the code, but i meant to say that
Code:
.feed
{
.feed a:link {text-decoration: none; font-family: arial; color: black;}
.feed a:visited {text-decoration: none; font-family: arial; color: black;}
.feed a:hover {text-decoration: none; border-bottom: dotted 1px black; font-family: arial color: black;}
}
should look like

Code:
.feed a:link {text-decoration: none; font-family: arial; color: black;}
.feed a:visited {text-decoration: none; font-family: arial; color: black;}
.feed a:hover {text-decoration: none; border-bottom: dotted 1px black; font-family: arial color: black;}
monkey is offline
Reply With Quote
View Public Profile Visit monkey's homepage!
 
Old 10-18-2005, 12:32 AM
Skilled Talker

Posts: 76
You genius!! You did it! Thank you SOO much. Ok, I'm really happy now.

Edit: I just wanted to add that I really learned a lot in this thread. I can use the knowledge as I tweak the rest of my site (when I get around to it). Thanks again.

Last edited by SirKenin : 10-18-2005 at 12:55 AM.
SirKenin is offline
Reply With Quote
View Public Profile
 
Old 10-18-2005, 02:42 AM
monkey's Avatar
Ultra Talker

Posts: 439
Glad I could be of assistance. You'll be able to tweek that script to do lots of things once you get good at it, and you made a nice to step in learning some more about CSS. Way to stick with it.

edit: bump my

Last edited by monkey : 10-18-2005 at 07:43 PM.
monkey is offline
Reply With Quote
View Public Profile Visit monkey's homepage!
 
Reply     « Reply to Using RSS on own site to highlight own content

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.15324 seconds with 11 queries