[Mediawiki-l] Skin modifying

Alexis Moinet alexis.moinet at fpms.ac.be
Tue Jan 30 08:17:46 UTC 2007


Andrea Arena a écrit :
> you say that i should use <div id="globalWrapper"> or <div id="column-content">,

Hi andy,

No, I meant that you have TWO <div id="globalWrapper"> AND TWO <div id="column-content"> in the source code of your page.
you should have only ONE <div id="globalWrapper"> AND ONE <div id="column-content"> ;-)

AND you must change the <div id="content" style="margin-right: 0px;"> to <div id="content" style="margin-right: ##px;">

AND you have to change <div style="width: 0px; margin-top: 85px; padding: 0px; float: right; right:0; position:absolute; height: 1px;"> to <div style="width: ##px; margin-top: 85px; padding: 0px; float: right; right:0; position:absolute; height: 1px;">

where ##px must be different from 0px (like 120px for the width of your ads <div> and 121px for the <div id="content"> margin-right

Because I made the test with ##px = 0px and it was doing the exact same thing than on your website (need to scroll on the right) but with ##px = 160px, it was alright

By the way, there is a small misspelling : positon --> position (but you don't need it anyway so you can remove it)

> I'm not sure what i do wrong.

How did you create your skin ? did you modifiy a copy of monobook.php (and its css) or did you add something to MySkin.php ?





More information about the MediaWiki-l mailing list