jquery - How can I position these divs horizontally? -


i cannot figure out how place lists horizontal, have played appreciate if someones gives me advice. http://jsfiddle.net/py3de/74/

<div class="source"> <div class="item"><span class="closer"></span>s1</div> <div class="item"><span class="closer"></spanhow>s2</div> <div class="item"><span class="closer"></span>s3</div> </div> <div class="target"> <div class="empty"></div> <div class="empty"></div> <div class="empty"></div> <div class="empty"></div> <div class="empty"></div> </div> 

for sort of stuff need add width source. see http://jsfiddle.net/harendra/2phuw/1/

you need change css in following way.

.source{     display:block;     overflow:auto;     width:200px; } .item{     float:left;     overflow:auto; } 

Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -