House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home / Groups / Cascading Style Sheets (CSS)

jQuery / CSS - Sortable list problem with float: left

Author:
Joshua Rowe
11/19/2009 02:38 PM

Hello! I have a sortable list I've created where the list items need to be placed side-by-side.  The list items are positioned correctly, however, whenever I try to move a list item, no matter where I click, the list item gets positioned at the far left end of the screen and doesn't allow me to place it in a different position. Here is a code example in jQuery: $("ul.items").sortable({     placeHolder: "ul.items",     update: function() {         .......     } }); and here's the list item styling: li.item {     list-style: none;     display: inline;     float: left; } When I take the "float: left;" line of code out, the sorting works just fine, but the list items need to be placed side-by-side. Thank you for your help in advance!


Search css

February 12, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29