How can you format
and
tags to flow together in the same line?
Hello,
I’m trying to embed a Twitter badge into my website but am having a problem with customizing it. I have all of the styling rules for my site on a separate .css file. The code for the Twitter badge is as follows:
-=-=-=-=-=-
-=-=-=-=-=-
For the most part I’ve been able to style the above to how I want it to look like, but the problem is “twitter_div” and “twitter_update_list” both show up on separate lines; I’d like them to be on the same line.
I think I’ve tried doing “display: inline” but that didn’t seem to work. Any ideas?
Thanks
Adam Lawton
You either need to use the display property of css to change their display to “inline, or you need to float them to either the left ot the right, depending on what you want done.
I.e. CSS:
—–StartCode—–
#twitter_div, #twitter_update_list {
float: left;
}
—–CodeEnd—–
I.e. HTML:
—–StartCode—–
—–CodeEnd—–
If you can’t change the HTML for whatever reason, then simply try to float the twitter_update_list alone, or set its display to inline.
I.e. CSS:
—–StartCode—–
#twitter_update_list {
display: inline;
}
—–CodeEnd—–
You should note, the CSS goes into the head section of the page, between the style Start and End tags.
Tags: entertainment, media, video, videos, youtube
This entry was posted on Friday, November 27th, 2009 at 10:12 am and is filed under Uncategorized. You can follow any responses to this entry through the RSS 2.0 feed,
Both comments and pings are currently closed.