Search results
Results from the WOW.Com Content Network
This page documents various CSS elements that are useful to know when working in the article and template namespaces. For information about how to use them, see: Classes
Framing an Image will automatically set the Image to the right side of the screen and frame it. (Like a picture frame) To frame an Image type in: [[File:Cscr-featured.svg|frame]] Which will appear like this: NOTE: This will force the image to be in its original size (to change the size use thumbnails or do not use the frame).
For lines of CSS which should be different on different MediaWiki projects, e.g. for a different background color for easy distinction, clearly the local CSS cannot be used; at least these lines should be put in the user subpages. Some computers, e.g. in internet cafes, mobile devices/tablets, do not allow users to set preferences for the browser.
Add vertical-align:top; to align an item to the top. See CSS vertical-align property for other options. The tables and images will wrap depending on screen width.
Recall that, outside an image-table, the parameter |right causes an image to align (either) above or below an infobox, but would not float alongside the infobox. Note the order of precedence: first come infoboxes or images using |right, then come the floating tables, and lastly, any text wraps that can still fit. If the first word of the text ...
packed All images aligned by having same height, justified, captions centered under images; packed-overlay Like packed, but caption overlays the image, in a translucent box; packed-hover Like packed-overlay, but caption is only visible on hover (degrades gracefully on screen readers, and falls back to packed-overlay if a touch screen is used)
See also Template:Easy CSS image crop, which simplifies the interface for this template a bit. {{CSS image crop}} creates a crop of an image inline for previewing the look and feel of a page, or for linking to full images when a slight crop is preferred in an article, but the full image is more encyclopaedic in general. Where only a small ...
Note: If you trying to align a table column (left, center, or right) use Template:Table alignment. This is a generic template for handling the horizontal alignment of elements on a page. Use the template like this: