msgbartop
News, views, tips and tricks on Oracle and other fun stuff
msgbarbottom

Flash CFFORM Gotcha

I had a problem with a flash CFFORM. It would not show up in Internet Explorer. However, Firefox had no problem displaying it. The flash form was part of an application using the Mach-II framework (which I’m converting now to Model-Glue). I had a general layout template in which I included the body of the main page. My layout template was like this (simplified here for demonstration purposes):

<table>
 <tr><td>My header here</td></tr>
 <tr><td>#content#</td></tr>
</table>

The variable “content” contained my flash form. The above did not work in IE as the form refused to show up. So, I moved the “content” from outside the <table> tag and put it in a <div> tag like this:

<table>
 <tr><td>My header here</td></tr>
</table>
<div>#content#</div>

And, magically, the flash form displayed in IE without any problem. The issue was, and still is, that IE won’t render plugins inside of a <table> tag.


Filed in ColdFusion, Tips on 05 Jul 05 | Tags: , ,


Reader's Comments

  1. |

    I had the same problem.

    Give the cfform tag a height and width and IE should render.

  2. |

    Thanks for sharing your tip JG.