How to display <span> and <ul> inline within a <div>
I want the following code to display only 1 line of text. How can I get rid of the gap between range and ul?
<div id="twitter_div"> <span class="talenthouse">@twittername: </span> <ul id="twitter_update_list"> </ul> </div> With the following CSS:
*{ margin: 0; padding: 0; } #twitter_div{ font-family:"lucida grande",tahoma,arial,sans-serif; color: #999999; font-size: 71%; background: url(images/twitter_bg.gif) top left no-repeat; width: 965px; height: 48px; overflow: auto; padding: 15px 0 0 85px; } .talenthouse{ font-family: "Helvetica Neue", "lucida grande",tahoma,arial,sans-serif; color: #80c242; font-weight: bold; font-size: 135%; display: inline; } ul#twitter_update_list{ list-style: none; width: 780px; height: 15px; display: inline; } +4
5 answers