I seem to remember there being a simple way to move the sidebar to the right side of the page, but I can't remember. If someone knows how to set that for the default, please let me know. Thanks.
I'm creating header and footer templates where I have a "div" open in the header that gets closed in the footer. On the Wikimedia projects, I can have a single </div> in the footer and it gets interpreted as normal HTML. But, on my wiki this single </div> gets stored as <div> Is there some extension or CSS or something I'm missing?
======================================= Kimon Andreou Information Technology Royal Caribbean Cruises, Ltd. SW 389-1 14700 Caribbean Way Miramar, FL 33027 Tel: (954) 517-5460 Cell: (954) 309-7141
KAndreou-V52aIsy7fgU@public.gmane.org wrote :
I'm creating header and footer templates where I have a "div" open in the header that gets closed in the footer. On the Wikimedia projects, I can have a single </div> in the footer and it gets interpreted as normal HTML. But, on my wiki this single </div> gets stored as <div> Is there some extension or CSS or something I'm missing?
http://lists.wikimedia.org/pipermail/mediawiki-l/2007-May/020722.html
Thank you, that was it!
======================================= Kimon Andreou Information Technology Royal Caribbean Cruises, Ltd. SW 389-1 14700 Caribbean Way Miramar, FL 33027 Tel: (954) 517-5460 Cell: (954) 309-7141
mediawiki-l-bounces@lists.wikimedia.org wrote on 05-07-2007 08:20:30:
KAndreou-V52aIsy7fgU@public.gmane.org wrote :
I'm creating header and footer templates where I have a "div" open in
the
header that gets closed in the footer. On the Wikimedia projects, I
can
have a single </div> in the footer and it gets interpreted as normal
HTML.
But, on my wiki this single </div> gets stored as <div> Is there some extension or CSS or something I'm missing?
http://lists.wikimedia.org/pipermail/mediawiki-l/2007-May/020722.html
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Daniel Israel a écrit :
I seem to remember there being a simple way to move the sidebar to the right side of the page, but I can't remember. If someone knows how to set that for the default, please let me know. Thanks.
basically : in main.css (or [[Mediawiki:Monobook.css]] or [[Mediawiki:Common.css]]), change the following properties
#column-content { width: 100%; float: left;/*this has the side-effect to put the sidebar on the right side*/ margin: 0 0 .6em -12.2em; padding: 0; }
#content { margin: 2.8em 2em 0 12.2em; /* the "2em" makes a separation between the sidebar and the text area*/ padding: 0 1em 1.5em 1em; position: relative; z-index: 2; }
#p-logo { top: 0; right: 0;/*right: 0; instead of left: 0; --> puts the logo on the right*/ position: absolute; /*needed to use z-index */ z-index: 3; height: 155px; width: 12em; overflow: visible; }
Then you probably will have to change some borders, margins, etc...
Daniel Israel a écrit :
I seem to remember there being a simple way to move the sidebar to the right side of the page, but I can't remember. If someone knows how to set that for the default, please let me know. Thanks.
or you can use the rtl.css file in skins/monobook/rtl.css (I didn't remember that one)
mediawiki-l@lists.wikimedia.org