Announcement

Collapse
No announcement yet.

Compact HTML vs IE Conditional Comments

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

    Compact HTML vs IE Conditional Comments

    As per the subject really.. Compact HTML is useful but it strips out IE Conditional CSS blocks (I guess it just strips out all comments)

    I'm using a fairly advanced 3 column layout which requires these additional conditions in order to display properly on IE <=6

    Is there any way to preserve these and still use the Compact HTML option?

    The blocks look like this:
    <!--[if IE]>...<![endif]-->

    #2
    I doubt you can get around this, but you could simply place your style declarations into an external CSS file and link to it that way.
    www.gbradley.co.uk
    Web Development, Actinic Patches, Scripts & more

    Comment


      #3
      This post might help, last message on page:-

      http://community.actinic.com/showthr...ie+conditional
      Cheers

      David
      Located in Edinburgh UK

      http://twitter.com/mcfinster

      Comment


        #4
        Originally posted by Kermy
        place your style declarations into an external CSS file and link to it that way.
        Check out http://community.actinic.com/showthread.php?t=27843 for an issue I had on compact HTML and external CSS if you go this route


        Bikster
        SellerDeck Designs and Responsive Themes

        Comment


          #5
          Thanks for the suggestions

          The "Downlevel-Revealed Conditional Comments" from this thread seem to be the best solution currently

          Jont: I actually use your method for including CSS files anyway as it was the first method I came across to get v7 to upload the CSS.. unfortunately I think that IE's conditional comments are only recognized in HTML files and not CSS therefore putting the stuff in the additional CSS file won't work in this situation

          Comment


            #6
            perhaps the solution is one for the AUG, the question keeps being asked.

            Comment

            Working...
            X