coldfusion - Nested floats do not work in CFDOCUMENT css -
the below html provided inside <cfdocumentitem type="header"> block. output empty.
<div class="grid">                                   <div class="span5">         <div class="span5">             label1         </div>         <div class="span5">             data1         </div>     </div>     <div class="span5">         <div class="span5">             label2         </div>         <div class="span5">             data2         </div>     </div>     <div style="clear:both"></div> </div>   but when remove nested 'class="span5"' divs , put content there, working fine. there problem nested float in cfdocument???
unfortunately, css support in cfdocument kind of hit or miss.
2 rules follow might help:
- make sure html validates xhtml 1.0 transitional
 import style sheets using
<style type=”text/css” media=”screen”>@import “style.css”;</style>
this same information can found here: http://rip747.wordpress.com/2007/09/10/cfdocument-it-works-if-you-know-how/
Comments
Post a Comment