Hi there,

Does anyone know if it is possible to remove html comments from the
DOM with jQuery?

My problem is that I really need a page to render in full standards-
compliance mode in IE, but my outdated corporate CMS (Vignette)
inserts an html comment at the beginning of every page which throws IE
into quirks mode rendering. (Ordinarily this is not a major problem, I
just code with the appropriate CSS hacks to accomodate quirks mode).
In this instance though, it's causing some very jerky show/hide
animations which only become smooth in standards compliance mode.

Alternatively if anyone has any CSS tricks for smoothing jQuery
animation in IE's quirks mode that might be an alternative
solutions... but I've tried just about every combination of margins,
padding, overflow, inner and outer elements etc etc... arrrgh!

Any help much appreciated,

James

Reply via email to