문제

How can I set the width and height of an accordion so it doesn't fill the whole page? I tried to define the width in a css style but it didn't work for me. Did I miss something here?

<style>
    .wrapper { 
            width: 40px;
}
</style>

The code: http://jsfiddle.net/L93gA/2/

I have another question: how can I change its position?

도움이 되었습니까?

해결책

Remove the <style> tag from your CSS code inside jsFiddle

Updated Fiddle

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top