[Mediawiki-l] Skin modifying

Alexis Moinet alexis.moinet at fpms.ac.be
Mon Jan 29 08:45:08 UTC 2007


Andrea Arena a écrit :
> now look at http://www.italien.ch/de/wiki/Hauptseite
> the ads ar on the right place, but it isn't in the right raltion to the site 
> because i must always move to 
> the right site to see the ads.

Hi andy,

I don't mean to be rude, but did you actually take a deep look at the source code of http://gentoo-wiki.com/ and the php file of your skin ???

because :

1. you have two <div id="globalWrapper"> and <div id="column-content"> in your source code (id should be used  only once)
2. you didn't change the <div id="content"> to <div id="content" style="margin-right: 163px;"> which is the reason why your ads is "overlapping" with your content page.

in the source code of your page, you've got :

<body  class="mediawiki ns-0 ltr">
	<div id="globalWrapper">
		<div id="column-content">

<div style="margin-top: 85px; padding: 0px; float: right; right:0; positon:absolute; height: 1px;">
...
</div> </div> </div>

<div id="titleBar"></div>
     <div id="globalWrapper">
       <div id="column-content">
	<div id="content">
...

</div> </div> </div>

instead, you should have something like :

<div id="titleBar"></div>
     <div id="globalWrapper">
       <div id="column-content">
	<div style="width:##px; margin-top: 85px; padding: 0px; float: right; right:0; positon:absolute; height: 1px;">
	...
	</div>
	<div id="content" style="margin-right: ##px>
...

</div> </div> </div>

I tested this modification in monobook.php and it works just fine ;-)





More information about the MediaWiki-l mailing list