Skip to main content
Inspiring
November 4, 2010
Question

CFdocument styling in CF 7

  • November 4, 2010
  • 2 replies
  • 522 views

I can't change text size for some reason using inline styles.

Any ideas?

    This topic has been closed for replies.

    2 replies

    matthiscoAuthor
    Inspiring
    November 5, 2010

    Anyone?

    matthiscoAuthor
    Inspiring
    November 4, 2010

    This html converts fine:

    <cfoutput query="insidestory">
      <div align="center"><img src="../images/FFXheader.jpg" alt="Friday Feedout" /> </div>
      <div class="row" >
        <h2 style="font-family:Arial, Helvetica, sans-serif;line-height: 1.5em;font-size:18px;">#announcementTitle# Issue Number #issuenumber#</h2>
        <cfif announcementImage neq "">
          <img src="../images/#announcementImage#" style="float:right" alt="#announcementTitle#"  />
        </cfif><div style="font-family:Arial, Helvetica, sans-serif;line-height: 1.5em;font-size:15px;">
      #announcementbody#</div> <br style="clear:both;display:block;" />
      </div>
    </cfoutput>

    But when I use exactly the same html underneath, the text size goes small again :-Z

    Any ideas folks?