marker-offset

  • Revision slug: CSS/marker-offset
  • Revision title: marker-offset
  • Revision id: 238806
  • Created:
  • Creator: teoli
  • Is current revision? No
  • Comment

Revision Content

{{ CSSRef() }}

Summary

 

<style type="text/css"> </style>

  • {{ Xref_cssinitial() }}:
  • Applies to:
  • {{ Xref_cssinherited() }}:
  • Media: {{ Xref_cssvisual() }}
  • {{ Xref_csscomputed() }}:

 

Syntax

marker-offset: <value>

Values

 

Examples

li:before { display: marker; marker-offset: 4px } 

Specifications

Browser compatibility

{{ CompatibilityTable() }}

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support {{ CompatUnknown() }} {{ CompatUnknown() }} {{ CompatUnknown() }} {{ CompatUnknown() }} {{ CompatUnknown() }}
Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support {{ CompatUnknown() }} {{ CompatUnknown() }} {{ CompatUnknown() }} {{ CompatUnknown() }} {{ CompatUnknown() }}

See also

  • {{ Cssxref("display") }}

Revision Source

<p>{{ CSSRef() }}</p>
<h3 id="Summary">Summary</h3>
<p> </p>
<p><nobr>
  <style type="text/css">
<![CDATA[.cssprop {
  display:table;
  padding: 0.4em;
  border-left:0.15em solid;
  background-color:#eeeeff
}
.cssprop li {
 display:table-row;
 padding: 3px;
 margin:0;
}
.cssprop li dfn {
  display:table-cell;
  padding: 0 5px;
  border-bottom: none;
  cursor:inherit;
}

]]>  </style>
  </nobr></p>
<ul class="cssprop">
  <li><nobr><dfn>{{ Xref_cssinitial() }}:</dfn></nobr></li>
  <li><nobr><dfn>Applies to:</dfn></nobr></li>
  <li><nobr><dfn>{{ Xref_cssinherited() }}:</dfn></nobr></li>
  <li><nobr><dfn>Media:</dfn> {{ Xref_cssvisual() }}</nobr></li>
  <li><nobr><dfn>{{ Xref_csscomputed() }}:</dfn></nobr></li>
</ul>
<p> </p>
<h3 id="Syntax">Syntax</h3>
<pre class="eval">marker-offset: &lt;value&gt;
</pre>
<h3 id="Values">Values</h3>
<p> </p>
<h3 id="Examples">Examples</h3>
<pre>li:before { display: marker; marker-offset: 4px } 
</pre>
<h3 id="Specifications">Specifications</h3>
<ul>
  <li><a class="external" href="http://www.w3.org/TR/css3-roadmap/#svg" title="http://www.w3.org/TR/css3-roadmap/#svg">CSS 3 SVG</a></li>
</ul>
<h3 id="Browser_Compatibility" name="Browser_Compatibility">Browser compatibility</h3>
<p>{{ CompatibilityTable() }}</p>
<div id="compat-desktop">
  <table class="compat-table">
    <tbody>
      <tr>
        <th>Feature</th>
        <th>Chrome</th>
        <th>Firefox (Gecko)</th>
        <th>Internet Explorer</th>
        <th>Opera</th>
        <th>Safari (WebKit)</th>
      </tr>
      <tr>
        <td>Basic support</td>
        <td>{{ CompatUnknown() }}</td>
        <td>{{ CompatUnknown() }}</td>
        <td>{{ CompatUnknown() }}</td>
        <td>{{ CompatUnknown() }}</td>
        <td>{{ CompatUnknown() }}</td>
      </tr>
    </tbody>
  </table>
</div>
<div id="compat-mobile">
  <table class="compat-table">
    <tbody>
      <tr>
        <th>Feature</th>
        <th>Android</th>
        <th>Firefox Mobile (Gecko)</th>
        <th>IE Phone</th>
        <th>Opera Mobile</th>
        <th>Safari Mobile</th>
      </tr>
      <tr>
        <td>Basic support</td>
        <td>{{ CompatUnknown() }}</td>
        <td>{{ CompatUnknown() }}</td>
        <td>{{ CompatUnknown() }}</td>
        <td>{{ CompatUnknown() }}</td>
        <td>{{ CompatUnknown() }}</td>
      </tr>
    </tbody>
  </table>
</div>
<h3 id="See_also">See also</h3>
<ul>
  <li>{{ Cssxref("display") }}</li>
</ul>
Revert to this revision