Thread:Mathmagician/@comment-4978367-20130129190944

Hi! I came across your posts/pages on collapsible elements. I was playing around with them and was wondering if you there was a way to float/position the show/hide toggle, so that the toggle is beside some text or next to a section heading.

An example is shown here, where the toggle is next to the word "Notes". I "cheated" though, by putting it in a table. However, the toggle moves back to float right, when the hidden content is expanded (and the table expanded), which is not what I want (I want the toggle fixed in place next to "Notes").

I know about the custom toggle class (from reading Help:Collapsing, but would ideally like to retain the original toggle, where the wording can change from "Expand" to "Collapse". I also prefer the "link-style" rather than the "button-style".

Oh, and I don't want to change this for the whole wiki, just one instance on a page.

Hope you can offer some advice on this. Maybe to use templates or change/create some CSS. Sorry for the long post. Thanks in advance!

P.S. Oh! You are also the one who replied to my question on community central. Thanks! :)

P.P.S. For the example, the toggle floated right when I pasted the code from the above link here. So I just linked to the site instead.  