3 Replies Latest reply on Oct 25, 2012 6:02 PM by Aegis Kleais

    IE Design Breaks with .CFM extension


      Using static code from the original files. Nothing different other than the extensions.  All of the code in the pages is EXACTLY the same... Weird!


      Anyone have any idea why this might happen?

      Doesn't work with .cfm


      Works with .html


        • 1. Re: IE Design Breaks with .CFM extension
          Aegis Kleais Level 3

          Usually, rendering differences have to do with the browsers used, not the server side application language.


          I'm using Google Chrome, and it looks fine on the .cfm page.


          IE8 also looks like it rendered it just fine, too.

          • 2. Re: IE Design Breaks with .CFM extension
            abatemanffsd Level 1

            Thanks for the response Aegis.


            Pretty interesting solution:


            I had an HTML comment in my application.cfc file that was causing the problem, but not actually generating any errors.


            My comment was like this <!-- test bed variables -->


            Once I changed the comment to use coldfusion commenting <!--- test bed variables ---> (3 dashes instead of 2) it worked perfectly!


            Luckily, I found the solution just goofing around, in my mind there was no reason for changing the comment style to make a difference.  The only reason I even looked at the application.cfc file was because it had to be the only piece that would affect the page in CF but not in HTML.


            Thank you for your response!  I believe by the time you looked at it, I probably had it fixed.

            • 3. Re: IE Design Breaks with .CFM extension
              Aegis Kleais Level 3

              Code Editor coloring can be a godsend if your editor of choice has it.


              I setup DW to color HTML comments DRASTICALLY different when editing .CFM and .CFC files.  Helps me catch those types of problems real quick.   Glad you got it fixed.