Announcement

Collapse
No announcement yet.

Excluding from "Compact HTML" Block If

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Excluding from "Compact HTML" Block If

    It would be nice to make use of conditional formats for IE (as below) without having to turn off Compact HTML/CGI.

    Code:
    <!--[if lt IE 7]>
    Perhaps a block if, or maybe character series to denote code not to be minified start/end positions.
    Dave

    #2
    Excluding code from compact

    Has anyone found a way to exclude a section of code from the "compact html/cgi" process

    Toby@happyharris.co.uk

    Comment


      #3
      No, but here's how to sneak these comments past the compact process.

      Try creating a variable and putting the HTML snippet as said variables default value. Then use the variable to generate the code. And make another variable for the endif.
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment

      Working...
      X