[Mediawiki-l] adding a header and footer to the screen

Bass, Joshua L joshua.l.bass at lmco.com
Thu Sep 1 13:52:37 UTC 2005


You can change this in stylesheets: wiki/skins/monobook/main.css

Yours looks like this:

#p-cactions {
    position:absolute;
    top: 1.3em;
    left: 11.5em;
    margin: 0;
    white-space:nowrap;
    width: 76%;
    line-height: 1.1em;
    overflow: visible;
    background: none;
    border-collapse: collapse;
    padding-left: 1em;
    list-style: none;
    font-size: 95%;
}


Mine is like this:

#p-cactions {
    position: relative;
    left: 13.3em;
    margin: 0;
    white-space:nowrap;
    width: 75%;
    line-height: 1.1em;
    overflow: invisible;
    border-collapse: collapse;
    padding-left: 1em;
    list-style: inline;
    font-size: 75%;
}

The important part is:
    position:absolute;   <----locates absolute (relative to screen) or
relative (located in a table cell or div, etc..)
    top: 1.3em;    <----distance from top of screen if absolute or top
of cell if relative
    left: 11.5em;  <---distance from left of screen if absolute or left
of cell if relative.


See result here: http://www.350z-tech.com/wiki

My skin is still under construction.




-----Original Message-----
From: mediawiki-l-bounces at Wikimedia.org
[mailto:mediawiki-l-bounces at Wikimedia.org] On Behalf Of Coombes, Andrew
Sent: Thursday, September 01, 2005 7:41 AM
To: MediaWiki List (E-mail)
Subject: [Mediawiki-l] adding a header and footer to the screen


Thanks Rowan,  works well.  See http://andrewcoombes.name/wiki for
result.  If it views OK without linking to our intranet then you will
see that our corporate header is in the right place, and the main body
of the page has moved down to accommodate it - but the tags with
"Article", "Discussion", "Edit", "History", etc. remain the same place,
now obscuring part of the header.  I can't find where to move these -
anyone help?

Unfortunately if I can't display the header and footer I can't use the
Wiki on the intranet !!

Regards,

Andrew
_______________________________________________
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