Sometimes the only way to make something work in both IE and more standards-compliant browsers is to write separate code for each. Use only as a last resort.
<!--[if IE]> HTML for IE <![endif]--><!--[if !IE]>--> HTML for non-IE <!--<![endif]--><link ...> to load alternate
stylesheet files.
* html ... /* the "star html hack" or "Tan hack" */
*:first-child+html ...
html>body ...
html>/**/body ...