开发者

How do I keep my li height from changing in IE8 when I use jQuery sortable and start dragging

开发者 https://www.devze.com 2023-02-28 00:21 出处:网络
I am using jQuery sortable to sort <li> tags. It works perfectly using Firefox, but the <li> height changes when dragged within IE8. I have added the following CSS stateme开发者_如何转开发

I am using jQuery sortable to sort <li> tags. It works perfectly using Firefox, but the <li> height changes when dragged within IE8. I have added the following CSS stateme开发者_如何转开发nts but they do not help:

height: auto !important; /* Firefox,
Safari, IE8, etc */ height: 110px; /*
IE6 */ min-height:110px; /* Firefox,
Safari, IE8, etc */

You can test it out over at ColorCombos.com/ComboMaker.html


Give line-height a try. I use that a lot when setting the height for li menu items, to work across FF, IE, and Chrome.


I dont think you can fix it, but i dont think its that big of a problem so i would not worry about it.

0

精彩评论

暂无评论...
验证码 换一张
取 消