Template:BoxWidthIndent

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

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

style="width:{{{1}}}em;margin:0 0 0 {{{2}}}em;padding:0;border:none;"


purpose;
create a smaller, neater, optionally indented, code (PRE) block; may also be useful for other box elements

usage and preview:

<div {{{BoxWidthIndent|W|I}} >
...your code sample goes here...
</div>
where W = width and I = indentation, in character-width (CSS em) units.
  • The preview above can be created with   <div {{{BoxWidthIndent|24|2}}>  

--Raffriff42 01:10, 4 January 2016 (CET)

Personal tools