Template:NotaBeneWidthIndent

From Avisynth wiki
Revision as of 01:45, 5 January 2016 by Raffriff42 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

style="width:70em;margin-left:1em;padding-left:1em;border-left:4px solid blue;"

Purpose
A box to call attention to something. Blue bar in left margin.
Usage
<div {{NotaBeneWidthIndent|W|I}} >
your text here...
</div>
...where W = width and I = indentation, in character-width (CSS em) units.
(decimal values like 1.25 are allowed, but trailing spaces eg, |1 |1.2 }} will create invalid CSS)
  • a third argument has been added: border-left style (default "4px solid blue")

preview

What is Lorem Ipsum?

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

( source: http://www.lipsum.com/ )

  • the preview above can be created with <div {{NotaBeneWidthIndent|50|2}}>text</div>
Personal tools