I copied style css from edit form to detail template to create a view version of the edit form data being displayed. No css seems to be applied? yet works okay in edit form?
My css is placed after the detail template tag the I set <style type="text/css"
<DetailTemplate>
<style type="text/css">
.xmp-FRM_QANCR { padding: 5px 5px 5px 5px; font:Arial;}
.xmp-FRM_QANCR .xmp-form-row { margin: 2px; padding: 1px; clear:left;}
.xmp-FRM_QANCR label.xmp-form-label, .xmp-FRM_QANCR span.xmp-form-label{ display:block; width:120px;text-align: left; margin-right: 15px;font:Arial; }
.xmp-FRM_QANCR .xmp-button { margin-right: 5px; font-family:Oswald, Arial, Helvetica, sans-serif;}
.</style>
Then I use it within the detail template
<table>
<tr>
<td><div><Label CssClass="xmp-form-label"><strong>NCR</strong></Label></div></td>
<td><div><Label CssClass="xmp-form-label">[[IDNCREJ]]</Label></div></td>
</tr></table>
It does not apply the width on the label to 120 for some reason..what am I missing?