To contact staff directly or to report bugs, please use Special:Contact.
In this page I want to make 3 templates positioned under each other. style="float:right;" works for 1 of templates, but when I add more class elements, their placement is not correct; they get to the center of the page. I want to place them under each other on the right side.
I'm new here, just copying codes from here and there, trying to make something, don't expect much coding knowledge from me :)
EDIT: When adding "width:100%" in style, elements do actually appear under each other, but the article text doesn't appear at the left side, which doesn't look beautiful. How can I keep both text on left side, and elements under each other? voice (talk) 18:40, October 26, 2012 (UTC)
Edit: SOLVED
Got it working, have no idea how.
Just copied the style from infobox, here is how final result looks like, if someone is interested:
<div class="mw-customtoggle-MK3 wikia-menu-button" style="float:right;">Show/Hide MK3</div> <div class="mw-customtoggle-MK2 wikia-menu-button" style="float:right;">Show/Hide MK2</div> <div class="mw-customtoggle-MK1 wikia-menu-button" style="float:right;">Show/Hide MK1</div> {| class="mw-collapsible" style="margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right;" id="mw-customcollapsible-MK1" |{{Template:Unit |title = Unit MK1|}} |} {| class="mw-collapsible" style="margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right;" id="mw-customcollapsible-MK2" |{{Template:Unit |title = Unit MK2|}} |} {| class="mw-collapsible" style="margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right;" id="mw-customcollapsible-MK3" |{{Template:Unit |title = Unit MK3|}} |}
voice (talk) 19:02, October 26, 2012 (UTC)