House of Fusion
Home of the ColdFusion Community
Hostmysite ColdFusion Hosting

Search cf-talk

July 25, 2008

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
     1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31     

Subscribe Now
Fusion Authority Quarterly Update - ColdFusion 8 Special Edition

For ColdFusion hosting try HostMySite.com.
Search over 2,500 ColdFusion resources here  >>>      
Home /  Groups /  ColdFusion Talk (CF-Talk)

CFDocument Header Not Responding to Font-Size

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Hey Everyone -
Stephen Cassady
05/11/08 03:53 A
Stephen,
Jon Clausen
05/11/08 10:28 A
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Stephen Cassady
05/11/2008 03:53 AM

Hey Everyone - Just wondering if other people can duplicate this: If I put this in my CFDocument: <div style="font-family:Arial,sans-serif;font-weight:bold;font-size:36px;">I am in the Body</div> The text fonts, weights, and sizes correctly. If I put this in my CFDocumentitem type="header" (inside my CFDocument): <div style="font-family:Arial,sans-serif;font-weight:bold;font-size:36px;">I am in the Header</div> The text fonts and weights, but does not size (size is default size). If this can be duplicated, is this a bug, is this something I can work around (and if yes, what would be the process to work around this problem?). Thanks - Stephen

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Jon Clausen
05/11/2008 10:28 AM

Stephen, I've run into something similar before and solved the problem by   putting the CSS in the body.   Example: <cfdocument type="pdf"....> <cfdocumentitem type="header"><div id="header"><h1>I am in the header</ h1></h1></cfdocumentitem> <style type="text/css"> div#header h1{font-size:36px; font-family: Arial,Helvetica,sans-serif;} </style> <div id="content"> I am in the Body </div> </cfdocument> HTH, Jon On May 11, 2008, at 3:52 AM, Stephen Cassady wrote: ----- Excess quoted text cut - see Original Post for more -----


<< Previous Thread Today's Threads Next Thread >>

Mailing Lists