MediaWiki talk:Common.css/Archive 1

CSS Updates?
A couple of CSS updates that might be worth adding.

For the real world template, you might want something like this to have it appear in the upper right corner of the article:

/*********************************************************** div.articletype { font-size: smaller; padding-top: 0em; padding-bottom: 0em; float: right; position: absolute; right: 1em; top: 0em; white-space: nowrap; text-align: center; border:1px solid #AAAAAA; background-color: #222222; line-height: 130%; margin: 1em auto 0.5em auto; clear:both; }
 * DIV: ARTICLETYPE

div.articletype table { background-color: transparent; float: left; padding: 1px; }

Also, it's worth putting a  tag at the top (in a commented out section!) and its closing tag at the bottom of the CSS file. That allows it to look a bit cleaner when viewing the "page" itself, rather than having everything line wrapping. -- Sulfur 22:13, 10 March 2007 (UTC)