Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<refentry xmlns=""
          version="5.0" xml:id="annotation.css">
<refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
<refpurpose>CSS rules for annotations</refpurpose>

<src:fragment xml:id="annotation.css.frag">
<xsl:param name="annotation.css">
/* ======================================================================

div.annotation-list  { visibility: hidden;

div.annotation-nocss { position: absolute;
                       visibility: hidden;

div.annotation-popup { position: absolute;
                       z-index: 4;
                       visibility: hidden;
                       padding: 0px;
                       margin: 2px;
                       border-style: solid;
                       border-width: 1px;
                       width: 200px;
		       background-color: white;

div.annotation-title { padding: 1px;
                       font-weight: bold;
                       border-bottom-style: solid;
                       border-bottom-width: 1px;
		       color: white;
		       background-color: black;

div.annotation-body  { padding: 2px;

div.annotation-body p { margin-top: 0px;
                        padding-top: 0px;

div.annotation-close { position: absolute;
                       top: 2px;
                       right: 2px;


<para>If <parameter></parameter> is enabled and the
document contains <tag>annotation</tag>s, then the CSS in this
parameter will be included in the document.</para>

New to GrepCode? Check out our FAQ X