Help:Useful styles

In today's article we will talk about Help:Useful styles, a topic that has become increasingly relevant in recent years. Help:Useful styles has become a point of interest for many people, whether due to its impact on society, its historical relevance or its influence on popular culture. Throughout this article we will explore different aspects related to Help:Useful styles, from its origin and evolution, to its current and future projection. We will discover its importance in people's lives and how it has been setting standards in various areas. Without a doubt, Help:Useful styles is a topic that generates great interest and from which we can learn a lot.

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

Specific styles

  • border-collapse:collapse This style will eliminate 3-d style borders created by the border attribute and collapse them in 1px wide borders. This property will override cellspacing! To define similar whitespace, use the border-spacing property (although it is not possible to have both border-spacing and border-collapse for the same table).

Moving stuff

  • float:right and clear:right These styles are used to move a table to the right-hand side of the screen. Float right is equivalent to align="right" The clear code property makes it impossible for the movement to be blocked by another box or picture: the template will automatically move under it.

Margins and sizes

  • margin:0 0 0.5em 1em; This style prevents text from running straight to the template by saving blank space. It should be used on boxes which are floated right (using float: right;).
    • margin:0 1em 0.5em 0; This performs the same function as the style directly above, but should be used for boxes which are floated left (using float: left;).

See also