Grow your CSS skills. Land your dream job.

Twitter and links

  • # May 17, 2009 at 10:54 am

    Hi guys,

    i´ve just seen the twitter video and first i wanna say it´s very great ;)

    well my problem is, that i want to add the twitter into the main page. I described everything and it looks fine, but there is one problem. I also said, that all links will have a specific text color, the twitter text has another color. Like:

    I just went out - 5 hours ago

    but now i dont know how to describe, that just those links have this color and not every link in the page. The twitter code has no "<a>" item, so i cant do an id or something (i guess). Any idea?

    here the twitter code:

    <div id="twitter_div">
    <ul id="twitter_update_list">
    </ul>
    </div>

    <script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"&gt;
    </script>
    <script type="text/javascript" src="http://twitter.com/…anylink.json?callback=twitterCallback2&amp;count=5">
    </script>

    so far
    Ripper

    p.s. sorry for a bad english :P

    # May 17, 2009 at 11:00 am

    Just choose your own color:

    Code:
    ul#twitter_update_list li a {
    color: red;
    }
    # May 17, 2009 at 11:09 am

    ah great thanks a lot :)

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".