IE

  • Author
    Posts
  • #1020182

    dougeboy
    Member

    Hi, I’m trying to figure out how to apply IE 7 specific CSS hacks. For example, I’m using the Debut theme and the homepage lays new articles out in a grid. In IE 7 the floats are not applied correctly because the grid’s divs are not all the same height. I’d like to make these the same height, but only in IE 7.

    I tried using this style of hack:

    #myDiv{
    *height: 170px;
    }

    WordPress.com seems to strip this out when saving the style sheet.

    I’ve also noticed it strips out any comments I put in the code. Is there anything I can do to prevent this?

    The blog I need help with is alagadinc.wordpress.com.

    #1020455

    timethief
    Member

    IE7 is not supported and has not been supported for some time now. IE9 is the latest stable version of the browser and both IE8 and IE9 are supported currently.

    #1020567

    The example hack you posted isn’t valid CSS, and so that’s why it’s getting stripped.

    I’ve also noticed it strips out any comments I put in the code. Is there anything I can do to prevent this?

    Comments are currently removed by our CSS parser which is setup with some security precautions. Allowing comments, however, is on our todo list.

The topic ‘IE’ is closed to new replies.