jquery - .slideToggle() Causes Height Issues for Bottom Div -
i've been trying solve problem day, no luck far. feel know do, can't seem write code. using slidetoggle() show/hide set of options. however, when hide options, div @ bottom changes height. can not make happen? want height remain same.
my guess need make slidetoggle() function , use if/else statement, can't seem figure out.
please see working example @ jsfiddle have far.
any suggestions? help.
make position:absolute , give top value
fiddle
#radio-buttons { width: 288px; height: 20px; font-size: 11px; border-right: 1px solid #bcbcbc; border-bottom: 1px solid #bcbcbc; float: left; background: #fff; padding: 6px; position:absolute; top:35px; } #box-below { width: 300px; height: 200px; border-right: 1px solid #8d8d8d; border-bottom: 1px solid #8d8d8d; /*removed float*/ }
Comments
Post a Comment