Skip to main content
Inspiring
July 23, 2009
Question

CFML Output To Excel & Alignment Issues

  • July 23, 2009
  • 1 reply
  • 709 views

I have a ColdFusion-generated page that I'm forcing to Excel format with CFCONTENT.

The page is a simple table containing cells with images, and cells with ID numbers.

When I view the HTML page, everying is fine, but when I force the page to Excel format with CFCONTENT the cells containing images collapse and become smaller than the image itself, yet the image remains it's true size. Obviously this causes the image to float not only over the cell it is supposed to be in, but several neighboring cells as well. Does anyone know of a fix to prevent table cells from collapsing? HEIGHT and WIDTH isn't cutting it.

    This topic has been closed for replies.

    1 reply

    Dileep_NR
    Inspiring
    July 24, 2009

    hi

    try this

    http://www.d-ross.org/index.cfm?objectid=9C65ED5A-508B-E116-6F4F7F38C6AE167C

    http://aspalliance.com/1832_Import_and_Export_Data_From_Excel_Using_ColdFusion.3