 margin or padding values, the calendar is displayed in a wrong position.</p>

   <h3>Attached to a field with the format specified via options.</h3>
   <div class="bs-docs-example">
      <input type="text" id="dp1" value="02-16-2012" class="span2 datepicker" data-provide="datepicker">
   </div>
<pre class="prettyprint linenums">
&lt;input type="text" id="dp1" value="02-16-2012" class="span2 datepicker" data-provide="datepicker"&gt;
</pre>

   <h3>Attachet to a field with the format specified via data tag.