Announcement

Collapse
No announcement yet.

Actinic removing comments

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

    Actinic removing comments

    IE7 is causing me all sorts of headaches. I'm trying to consolidate all my CSS hacks into one nice, neat IE hack file and use IE's conditional includes to pull them in. They are pretty good if you've not used them and work like this:

    Originally posted by Act_Primary
    <!--[if IE 7]
    You can include loads of stuff here, like styles or just LINK tags to pull in an external file. You can even do things like [if gte IE 5] to test for versions of IE greater than or equal to 5. Since it's been supported for a while now, it's a pretty reliable way of fixing IE problems.
    [endif]-->
    However, Actinic loathes comments and scours my files for them leaving no exclamation mark unmolested, harrying innocent dashes and destroying any hope of me being able to sort out IE7 without breaking the layout in real browsers.

    I read a thread where Norman Rouxel suggested putting comments into CUSTOMVARs if they wanted to stand any chance of escaping persecution by Actinic (http://community.actinic.com/showthread.php?t=20104), but this did not work for me. At least, I don't think it's working; removing the comments makes everything work fine, and IE even renders the site with some semblance of what I'd expect.

    I've used the star hack quite a bit in the layout, which was a mistake really, although I didn't know at the time. I'm not keen on any new hacks for IE7, so getting these conditional things to work will be ideal. Does anyone have any ideas on how I might go about resolving this?

    A standards compliant IE has been top of my Christmas list for some time now, but all I got was a lump of coal. Is anyone else having issues with layouts utterly breaking in the new version of the world's most popular browser? It seems to me that implementing descendant selectors and getting rid of the mystery HTML parent element (my personal favourite IE quirk) will cause all sorts of problems for anyone with hacks. I'm liking 1px dotted borders and loving :hover on arbitrary elements, but really these are things we should have had years ago, and I'd prefer working layouts.

    #2
    See http://community.actinic.com/showthread.php?t=21151

    Incidentally, V8 does pass comments through to the generated HTML. That's why V8 Actinic doesn't use them much anymore in the Layouts.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Originally posted by NormanRouxel
      Excellent, thanks Norman. I was hoping I might be able to invoke your help. It's a bit of a messy hack, but it'll have to do for now. Any chance we can get this looked at, Actinic?

      Comment


        #4
        I just amended my post above to say that such comments are now allowed in V8.
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          That's excellent. We're transferring the design over to V8 anyway, so this will be fine as an interim solution.

          Thanks.

          Comment

          Working...
          X