logo       

Re: draggable revert problem: msg#00158

lang.ruby.rails.spinoffs

Subject: Re: draggable revert problem

Thanks. Are you referring to the image css styles? I tried both absolute and relative with no success. Also, like I said, Does the css change when you drop an object into the cart? because my revert is fine otherwise. Anyway, I have inlcuded the css below.

body {
  background-color:#eee;
  color:#333;
}

a:link { color: #333; }
a:visited { color: #333; }

#content {
  padding:0;
}

#shopping_cart {
  padding:20px;
}

h1 {
  padding:10px;
  background-color:#35658F;
  color:#eee;
}

img.photos {
  position:relative;
  width:75px;
  height:75px;
  margin-right:10px;
  cursor:move;
}

div.cart {
  position:relative;
  border:1px solid #B3D4EF;
  background-color:#B3D4EF;
  width:500px;
}



div#wastebin {
  width:135px;
  padding:5px;
  border:1px solid #eee;
}

div.cart img {
  float:left;
  width:32px;
  height:32px;
  margin-right:10px;
  cursor:move;
}

div.cart div {
  font-size:12px/14px;
  font-weight:normal;
  color:##444;
 
}

div.cart-active {
  background-color:#eee;
}

div.wastebin-active {
  width:135px;
  padding:5px;
  background-color:#ccc;
}

#cart {
 
  height:132px;
  margin:10px 0;
}

#photo_list {
  position:absolute;
  border:1px solid #CCCFFF;
  background-color:#CCCFFF;
  width:900px;
  height:600px;


On 11/30/05, Martin Scheffler <wooyay@xxxxxx > wrote:
Look at your styles.
Are they position:absolute or position:relative?
I had similar problems that all came from CSS positioning.
______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@xxxxxxxxxxxxxxxx
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise