Skip to main content
March 6, 2010
Question

cfwindow kills formatting in cf9

  • March 6, 2010
  • 1 reply
  • 2633 views

I recently upgraded to cf9 and the cfwindow includes are stripping out the table cellpadding and cellspacing.  This was not an issue in cf8.

Whenever I include the cfwindow tag in cf9 the page its on looks terrible and even makes the app look differently inside the ie browser.

Why?

Does anyone know how to fix this?

    This topic has been closed for replies.

    1 reply

    Inspiring
    March 7, 2010

    Can you post some code that demonstrates what you're seeing?

    --

    Adam

    March 8, 2010

    I'll get an example up on a website (the other is protected by login/pass) but the basic idea is...

    <table cellpadding="6" width="50%">

    <tr>

    <td>

    Code with a cfwindow link

    </td>

    </tr>

    </table>

    Should have a padding of 6 and a width of 50% of that page.

    However, if the cfwindow code is included on that page (I do at the bottom), the table will have no padding, and it will have a width that spans 100% of the page as opposed to 50%.  This did not happen with cf8.

    Inspiring
    March 8, 2010

    OK... that code you posted?  Doesn't demonstrate anything about any problems with <cfwindow>, because there's no <cfwindow> tag in it.

    Post some code that we can run that replicates the problem you're seeing.  Post as little code as possible - devoid of any code that's irrelevant to the replication case - but post enough code that we can save to a file and run and see the problem.

    --

    Adam