<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body><section><h1><code class="CSS">tab-stops</code> 特性 (CSS)</h1><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="10" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[10]</anchor-end> <abbr><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">CSS</anchor><title xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">Cascading Style Sheets</title></abbr> の<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">特性</anchor>
<dfn>tab-stops</dfn> は、<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">タブ</anchor>による navigation 
の停止の位置を示すと思われます。 <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Microsoft Office</anchor>
が使用していますが、現在のところ標準化されている特性ではありません。</p><form xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" ref="comment"></form><section><h1>他との関係</h1><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="11" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[11]</anchor-end> 似た意味かもしれない特性に
<samp class="CSS"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">-ilx-tab-stops</anchor></samp> があります。
こちらもやはり標準の特性ではありません。</p><form xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" ref="comment"></form></section><section><h1>例</h1><ul><li><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="1" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[1]</anchor-end> <samp class="CSS">tablstops: list 22.5pt</samp></li><li><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="2" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[2]</anchor-end> <samp class="CSS">tab-stops: 42.0pt center 212.6pt right 425.2pt</samp></li><li>
<anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="3" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[3]</anchor-end>
<samp class="CSS">DIV.MsoCaption { <ins>...</ins> tab-stops: 131.45pt }</samp> 
<src xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">Word 9</src></li><li>
<anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="4" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[4]</anchor-end>
<samp class="CSS">tab-stops: list .5in</samp> (<code class="HTMLe"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">p</anchor></code>) 
<src xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">Word 9</src></li><li><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="5" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[5]</anchor-end>
<samp class="CSS">tab-stops:right 431.5pt;</samp> <src xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">Word 10</src></li><li>
<anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="6" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[6]</anchor-end>
<samp class="CSS">tab-stops:center 3.0in right 6.0in;</samp> <src xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">Word 10</src></li><li><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="7" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[7]</anchor-end>
<samp class="CSS">tab-stops:dotted 1.0cm list blank 32.2pt right dotted 241.0pt;</samp> 
<src xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">Word 10</src></li><li><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="8" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[8]</anchor-end>
<samp class="CSS">tab-stops:center 207.65pt right 415.3pt;</samp> 
<src xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">Word 9</src></li><li><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="9" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[9]</anchor-end> <samp class="CSS">tab-stops:54.0pt</samp></li></ul><form xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" ref="comment"></form></section><section><h1>メモ</h1><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="12" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[12]</anchor-end>
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">XFA</anchor> 2.4 946頁〜</p><blockquote><p>Tab Stops</p><p>Tab stops are not a feature provided by [CSS2] or the [XHTML] specification, however, the following
extensions are provided for setting tab-stops at either a repeating interval or at specific locations. For
compatibility with [XHTML], tabs are invoked using an element with a style attribute. The ASCII tab
character (U0009) is ordinary white space that does not advance to the next tab-stop.</p><p>Default tab stops may be set at a repeating interval via the use of a nonstandard [CSS2] style attribute
tab-interval. The default tab stops occur at every multiple of the specified measurement value. However,
these tab stops are in effect only beyond the positions specified by the nonstandard [CSS2] style attribute
tab-stops described below. As a consequence, if no tab stops were defined with the tab stops attribute
then all of the default tab stop positions will be in effect.</p><p>Default tab stops are always left tabs, that is, after advancing to the tab stop subsequent text is left-aligned
with the tab stop.</p><p>This attribute is defined as:<pre class="CSS code">tab-interval:size</pre><p>where size is a non-zero measurement</p></p><p>A span element with a style attribute of xfa-tab-count may be used to advance by a specific number
of tab-stops relative to the current position. The span element is recommended to be empty, as any text
or markup that is contained within the span may be discarded by an XFA processing application.</p><pre class="CSS code">xfa-tab-count:count</pre><p>where count is a non-negative integer representing the number of tabs-stops to advance
When count is zero the xfa-tab-count attribute must have no effect.</p><p>Example:<pre class="HTML example code">&lt;p style=&quot;tab-interval:0.5in&quot;&gt;A
&lt;span style=&quot;xfa-tab-count:2&quot; /&gt;B
&lt;span style=&quot;xfa-tab-count:1&quot; /&gt;C&lt;/p&gt;</pre></p><p>Produces:</p><pre class="aafig">A                B        C</pre><p>Tab-stops may be set at specific locations via the use of a nonstandard [CSS2] style attribute tab-stops.</p><p>This attribute is defined as:<pre class="CSS code">tab-stops:align measurement[ align measurement]...</pre></p><p>Note: This document uses the monospaced italics type face to indicate placeholders. In actual use,
meaningful values replace such placeholders.</p><p>align values are described in the following table.</p><table><tbody><tr><td>align value</td><td>Effect</td></tr><tr><td>center</td><td>Center-aligned tab stop</td></tr><tr><td>left</td><td>Left-aligned tab stop</td></tr><tr><td>right</td><td>Right-aligned tab stop</td></tr><tr><td>decimal</td><td>Tab-stop that aligns content around a radix point</td></tr></tbody></table><p>A center-aligned tab stop causes the text following the tab to be centered on the tab stop position. A
left-aligned tab stop causes the text following the tab to be left-aligned with the tab stop position. A
right-aligned tab stop causes the text following the tab to be right-aligned with the tab stop position. A
radix-aligned tab stop is used with numeric data. It causes the text following the tab to be aligned with its
radix character (for example, in English-speaking locales) left-aligned with the tab stop position. If the text
has no radix character the text is right-aligned with the tab stop position. The determination of the
appropriate radix character for the locale is implementation-defined.</p><p>The cursor position starts at the left margin and the tab index starts at zero upon entry to the element that
declares the tab-stops. Within a p element that declares tab-stops, a br element restarts the cursor
position at the left margin and the tab index at zero.</p><p>Example:<pre class="HTML example code">&lt;p style=&quot;tab-stops:left 0.5in left 2in&quot;&gt;
&lt;span style=&quot;xfa-tab-count:1&quot; /&gt;Charles
&lt;span style=&quot;xfa-tab-count:1&quot; /&gt;Porter&lt;br /&gt;
&lt;span style=&quot;xfa-tab-count:1&quot; /&gt;Alice
&lt;span style=&quot;xfa-tab-count:1&quot; /&gt;Crawford
&lt;/p&gt;</pre></p><p>Produces:</p><pre class="aafig">  Charles          Porter
  Alice            Crawford</pre><p>Example:<pre class="HTML example code">&lt;p style=&quot;font-family:courier;tab-stops:decimal 0.5in&quot;&gt;
&lt;span style=&quot;xfa-tab-count:1&quot; /&gt;1.2345&lt;br /&gt;
&lt;span style=&quot;xfa-tab-count:1&quot; /&gt;99&lt;br /&gt;
&lt;span style=&quot;xfa-tab-count:1&quot; /&gt;-.033&lt;br /&gt;
&lt;span style=&quot;xfa-tab-count:1&quot; /&gt;$ 17.60 plus tax
&lt;/p&gt;</pre></p><p>Produces:<pre class="aafig">   1.2345
  99
   -.033
$ 17.70 plus tax</pre></p></blockquote><comment-p xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">レンダリング例の引用は正確じゃないよ</comment-p><p>(<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">名無しさん</anchor> [sage])</p><form xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" ref="comment"></form></section></section><section><h1>メモ</h1></section></body></html>