Get a free trial // Grow your CSS skills // Land your dream job

Aligment problem?

  • # July 3, 2009 at 8:26 am

    I`m using a twitter jquery plugin to get the latest tweets inside a div and i want to add " follow us on twitter " under the tweet but i can`t do this

    < !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">

    latest tweets

    follow us on twitter

    this is a screenshot [img][/img]

    this is my code but i don`t know why ? when the plugin gets the tweets the anchor tag appears above it instead of under it ? so how can i solve this ?

    # July 3, 2009 at 8:47 am

    the jQuery is probably appending it to the div #tweet, that means it appears after all the content in there already. See if there is a way to make it prepend.

    Have a look at these two links and you will see what I mean :)

    # July 3, 2009 at 10:20 am

    thanks but i`m not very good with Javascripts or jquery i had troubles to make those small scripts work :D so i have managed to solve the problem by CSS by addind 2 extra divs one which holds the anchor tag and one to hold the 2 2 divs (tweets) & (the div conatcins the anchor tag) and with positioning i managed to make exactly how i wanted :)

    i have another question if u can help me with it will be great i want to use Cufon too and i have linked the it in the header and the font.js file too but how can i add the Cufon.replace in the script tag in the header with the other 2 scripts ??

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

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed