Hi, I have used the technique at http://drupal.org/node/1263750#comment-4927202 to insert ie-specific code.

All works well, except that I get the string "

" at the top of the screen, but only for IE users. Note is does not appear in the source code, but it seems that javascript is making it appear under body.

Note that I have two rules, one for "IE", and one for "lte IE7": only "[if lte IE7]" appears to the end user, not "[if IE]".

Thanks!

Albert.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

alberto56’s picture

Version: 7.x-3.x-dev » 7.x-3.1
FileSize
673.92 KB

Please see the enclosed image.

Cellar Door’s picture

Category: bug » support

Isn't the syntax supposed to be <!--[if lte IE 7]> with the space in there? Try using that to see if it fixes it. The reason it's not in the source is it's in the header but if IE isn't rendering it correctly it may put it down into the body. Try using the syntax above to see if it works. For more reference on IE only check out http://css-tricks.com/how-to-create-an-ie-only-stylesheet/

Changing to support request as this doesn't appear to be a bug inherit in Omega