Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4531910
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T13:57:45+00:00 2026-05-21T13:57:45+00:00

I have the tweet HTML source like below. They are line by line. In

  • 0

I have the tweet HTML source like below. They are line by line. In browser they will also display one line by one line. What I want in browser is not line by line but the layout:
the image abc.jpg is on the left, all the other elements are on the right side of the abc.jpg, and elements on the right side of the abc.jpg are followed one by one (not break). I do not know if have describe what I what clearly. The result should be like 2 columns: ldft is images, right is tweet information. The result is like what we see in twitter.

The tweet HTML source is like below:

<div id="tweet"> // first tweet
<a href='http://twitter.com/abc'><img src='http://a3.twimg.com/profile_images/965532155/abc.jpg'></a>
<div id='tweetUser'><a href="http://twitter.com/abc/statuses/7021860487168000" onmousedown='return touch(this.href,0)'>abc</a> :</div> 
<div id='tweetText'>this is the content. <a onmousedown="return touch(this.href,0)" href="http://fb.me/MWgZzSzx">http://fb.me/MWgZzSzx</a></div>
<div id='tweetTime'>2010-11-23 04:45:20</div>
<div id='tweetReply'> <a onmousedown='return touch(this.href,0)' target='replies' style='color:#0A0;' href='http://twitter.com/home?status=@abc'>Reply</a></div></div>

<div id="tweet"> // second tweet
...
...

I do not know how to do it. Can you help me?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T13:57:46+00:00Added an answer on May 21, 2026 at 1:57 pm

    It’s just some basic CSS: http://jsfiddle.net/9GNxT/11/

    CSS:

    .tweet {
        background-color: rgb(200, 200, 255);
    
        width: 300px;
        height: 100px;
    }
    
    .tweet img {
        float: left;
    
        width: 100px;
        height: 100%;
    
        background-color: rgb(200, 255, 200);
    }
    

    You do know that this won’t work properly with that HTML? You have multiple elements with the same id= attribute. You’ll need a class (which is what I’ve done here), as many elements can share a class.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm not primarily an html programmer, but I'm using HTML to format the display
Have you guys had any experiences (positive or negative) by placing your source code/solution
I have a very simple bit of jQuery to retrieve my latest Tweet $.getJSON(http://twitter.com/statuses/user_timeline/username.json?count=1,
i have the following lines of html code - <div class=twitters id=cbd> <p><a href=javascript:;
I have created a music application in iphone . i want to integrate twitter
I have a script that appends some rows to a table. One of the
I have a snippet to create a 'Like' button for our news site: <iframe
I have the following code: function loadTweets() { $('#mainForm').submit(function(){ return false; }); $('#send').click(function(){ $('#tweets').html('');
I have a php code that fetches my latest tweet and displays it on
I'm trying to use the Android Html.fromHtml method to parse a text like a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.