I have a jQuery accordion that breaks when I need to place a div-tag in one of the sliding open areas.. How do I get around this? I need to put a div-tag since I cannot make a nice box out of a span-tag. Anyone knows a way around this??
Please see my demo here to see where it breaks 🙁
You should probably change this:
to:
and the CSS:
It makes more sense to use a
DIVinstead ofPif you want to put other elements inside the expandable content: http://jsfiddle.net/zRqYM/13/Or just use inline elements inside the
Ptag and style them todisplay:block;, but it doesn’t make semantic sense to me.