Thread:Mathmagician/@comment-4978367-20130129190944/@comment-4674838-20130129214630

It's possible to use CSS to move the positioning of the toggle, to an extent. The limitation is that it can't be "properly" moved next to the section heading without manually setting the toggle HTML so that it's inside of the header tag, or right after it. The only way to do that is to use the custom toggle class to place the toggle where it needs to be, which you said you don't want to do because you want to retain the original toggle where the wording changes from "Expand" to "Collapse".

So in order to satisfy the requirements that you've imposed, there's not really a "proper" solution, so far as I know. But if this is a very special case that you only want to use for a single section on a single page, I suppose a bit of a "hack" solution may be acceptable, such as this: http://mathmagician.wikia.com/wiki/Collapsible_tables_2

What I mean by "hack" is that it's a very poor design decision (coding-wise) that cannot be made to work for multiple divs/tables/pages. It's dependent on the section header having a fixed length. If you change the section header, it won't work and the coding would need to be adjusted again.