Search results
Results from the WOW.Com Content Network
MediaWiki’s wikitable class (class="wikitable") is designed for straightforward table formatting and enforces certain global styles that make removing borders between adjacent cells challenging even if custom CSS styles attempt to eliminate these borders. Specifically, the class includes:
CSS to replace obsolete attributes for borders, padding, spacing, etc. Add a border around a table using the CSS property border: thickness style color;, for example border:3px dashed red. This example uses a solid (non-dashed) gray border that is one pixel wide:
Then, copy the following code into the subpage and change the parts in all caps (e.g.: "COLOR OF TEXT" and "HEADER TEXT YOU WANT") Transclude the header onto your user page (type the full name of the subpage inside double curly brackets) {{like this}} Example code:
Where borders are desired, they should be added with wikimarkup or code. Any text from the border should instead be in the caption. If the border has author or license information, add it to the file's EXIF information. To crop the image yourself, use the CropTool. If cropping a JPEG, consider using a lossless cropping tool such as jpegtran.
This script and CSS makes the sidebar stay in the same position on the screen as you scroll. This may have undesirable side effects in Chrome; e.g., when viewing a page like the very common.css page you just edited to put this code in, the viewable content will become much shorter, and require vertical scrolling in a frame.
Wikipedia:Catalogue of CSS classes – list of classes globally defined across the site; Wikipedia:WikiProject Microformats/classes – list of classes used in microformats employed on Wikipedia; Help:User CSS for a monospaced coding font – both for the editing window and for display of monospaced elements like <code> meta:Help:Cascading ...
The CSS code for the article message boxes has now been added to MediaWiki:Common.css, which means it is now full deployed and can be used all over the English Wikipedia. Note! Those of you who took part in the testing of this code: If you added code to your monobook JS file you should now remove it. The code to remove is this:
Add to your common.css page the lines you want to remove from the log entries; for modifying the appearance the display:none; has to be replaced with a relevant CSS code (like from the "modified notification"-section above):