Mailing List Archive

CSS madness
Hi,
I have wikipedia 1.3.1 running on my site. Everything looks great on
Firefox, but when I try it with IE 6, the main logo (which I have
changed from the original MediaWiki logo) appears at the very top of the
page, with no padding on top as it appears on Firefox.

The funny thing is that if the page loads slowly, the logo first appears
correctly, with space on top, and then it actually moves up. I figure
from that that it happens when the extra CSS are loaded, maybe
IE60Fixes.css, but I couldn't find anything on those CSSs that would
affect p-logo, the class used for the logo.

You can hopefully see this at <http://seattlewiki.org>

Any CSS gurus out there that can elucidate this purely cosmetic issue?

Thanks,
matias
Re: CSS madness [ In reply to ]
On Sat, Aug 21, 2004 at 04:13:33PM -0700, Matias Pelenur wrote:
> Hi,
> I have wikipedia 1.3.1 running on my site. Everything looks great on
> Firefox, but when I try it with IE 6, the main logo (which I have
> changed from the original MediaWiki logo) appears at the very top of the
> page, with no padding on top as it appears on Firefox.
>
> The funny thing is that if the page loads slowly, the logo first appears
> correctly, with space on top, and then it actually moves up. I figure
> from that that it happens when the extra CSS are loaded, maybe
> IE60Fixes.css, but I couldn't find anything on those CSSs that would
> affect p-logo, the class used for the logo.
>
> You can hopefully see this at <http://seattlewiki.org>
>
> Any CSS gurus out there that can elucidate this purely cosmetic issue?

You could change the file stylesheets/monobook/main.css like that

#p-logo a,
#p-logo a:hover {
display: block;
height: 155px;
width: 12.2em;
background-repeat: no-repeat;
margin-left: 10px;
margin-top: 15px;
/* background-position: 35% 50% !important;
*/
text-decoration: none;
}
--
== Weblinks ==
* http://shop.wikipedia.org - WikiReader Internet zu kaufen
* http://de.wikipedia.org/wiki/Benutzer:TomK32
* http://www.hammererlehen.de - Urlaub in Berchtesgaden