Template:Column-rule/doc

From translatewiki.net
This is the documentation subpage for the parent Template:Column-rule page.
Usage:
Generates some CSS styles to ensure compatibility with most browsers.
Syntax:
  • {{Column-rule|width line-style color}}
Parameters:
  • 1= Width, line-style, and color rules centered in gaps between columns, thin solid by default.
Notes:
  • If you use narrow columns of text, you'll want to reduce the default gap width separating them; but in that case you should use contrasting vertical column-rules that will be centered in each gap for easier reading (don't use a rule width less than .5em, or 5px if the rule width is thin or just one pixel).
Example:
  • style="{{Column-rule|1px solid #AAA}}" generates:
    style="-moz-column-rule:1px solid #AAA;-webkit-column-rule:1px solid #AAA;column-rule:1px solid #AAA;"
See also: