[Mediawiki-l] Small problem with main.css in /skins/monobook/

Rob Church robchur at gmail.com
Mon Dec 5 13:47:53 UTC 2005


Does the problem persist if you create separate background directives, e.g.

body {
    font: x-small sans-serif;
    /*background: #f9f9f9 url(headbg.jpg) 10 5 repeat;*/
    background-color: #F9F9F9;
    background-image: url(headbg.jpg);
    background-repeat: repeat;
    color: black;
    margin: 0;
    padding: 0;
}


Rob Church

On 05/12/05, Gordon Joly <gordon.joly at pobox.com> wrote:
> At 09:39 +0000 5/12/05, Gordon Joly wrote:
> >If I set the x or y offset of a background image to non zero, and
> >also set "repeat", then image does not appear (the background
> >appears white).
> >
> >That is, I change
> >
> >body {
> >     font: x-small sans-serif;
> >     background: #f9f9f9 url(headbg.jpg) 0 0 no-repeat;
> >     color: black;
> >     margin: 0;
> >     padding: 0;
> >}
> >
> >to
> >
> >body {
> >     font: x-small sans-serif;
> >     background: #f9f9f9 url(headbg.jpg) 10 5 repeat;
> >     color: black;
> >     margin: 0;
> >     padding: 0;
> >}
> >
> >This seems to happen is in 1.5.2 and 1.5.3 (at least). It had worked
> >well in previous versions.
>
>
> Perhaps I have omitted the px...
>
>    background: #f9f9f9 url(headbg.jpg) 10px 5px repeat;
>
>
> --
> Gordo (aka LoopZilla)
> gordon.joly at pobox.com
> http://pobox.com/~gordo/
> http://www.loopzilla.org/
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>



More information about the MediaWiki-l mailing list