Thanks for the suggestion Jens, you opened a new lead but I still could not make it work. I added:
<meta http-equiv="x-ua-compatible" content="IE=9"/>
as the first line in <head> but it did not make a difference.
Using Browser Mode = IE9 and Document Mode = IE9 standards gave me
different results after restarting the application with the same
settings, I could not understand this.
I tried all sorts of permutations and I noticed that it always works only if in IE i choose Document Mode = IE5 Quirks, while Browser Mode can be anything (even IE10).
I think this is related to my Doctype declaration:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- The HTML 4.01 Transitional DOCTYPE declaration-->
<!-- above set at the top of the file will set -->
<!-- the browser's rendering engine into -->
<!-- "Quirks Mode". Replacing this declaration -->
<!-- with a "Standards Mode" doctype is supported, -->
<!-- but may lead to some differences in layout. -->
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
.....
I tried using <!DOCTYPE HTML"> as suggested on msdn site, but in this case the application layout was completely messed up.
Any idea how to enforce IE from the application to use Document Mode = IE 5 Quirks?
Thanks