colemancrane
New Member
Is ther a way to animate a div with following style correctly?\[code\].div1{ background-color: red; padding: 5px; margin: 5px; width: 100%; border: 4px solid #000 !important; border-radius: 8px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; height: 200px;}\[/code\]I need every css-style given here. My problem is that there is a offset error when the animation starts (as you can see here http://jsfiddle.net/q5bmf/1/, when the example is loaded there is a animation from somewhere to 200px). The example works if I hide one ore more css-styles, but I don't want to. So is there a way to make jquery work correctly?