File: Boxes.zpts

package info (click to toggle)
plastex 3.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,132 kB
  • sloc: python: 23,341; xml: 18,076; javascript: 7,755; ansic: 46; makefile: 40; sh: 26
file content (14 lines) | stat: -rw-r--r-- 1,017 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
name: mbox makebox
<span class="mbox" tal:attributes="style string:width:${self/attributes/width}" tal:content="self">make box</span>

name: fbox framebox
<span class="fbox" tal:attributes="style string:width:${self/attributes/width}" tal:content="self">frame box</span>

name: parbox
<span class="parbox" tal:attributes="style string:width:${self/attributes/width}" tal:content="self">par box</span>

name: minipage
<div class="minipage" tal:attributes="style string:width:${self/attributes/width}" tal:content="self">minipage</div>

name: raisebox rule
<object tal:omit-tag="not:self/renderer/vectorImager/enabled" type="image/svg+xml" tal:attributes="data self/vectorImage/url; style string:width:${self/vectorImage/width/em};; height:${self/vectorImage/height/em};; vertical-align:${self/vectorImage/depth/em}"><img tal:attributes="src self/image/url; alt self/source; style string:vertical-align:${self/image/depth/px};; width:${self/image/width/px};; height:${self/image/height/px}" class="box gen" /></object>