On Thursday, November 10, 2011 7:30:38 PM UTC-5, Paolo Caruccio wrote:
>
>
> .web2py_console {position: relative;} /* for #w2p_query_panel positioning
> */
> #web2py_keywords{margin:0 5px;min-width:390px;width:62%;}
> #w2p_query_panel{width:99%;}
> #w2p_query_panel input, #w2p_query_panel select{margin:2px 10px 2px 5px;}
> #w2p_query_panel input[type="text"]{margin:0 5px 0 0;}
> .ie9 #web2py_keywords:focus {border-color:#ccc;} /* fix to prevent border
> vanishing in ie9 */
>
Haven't tried it, but I like that it uses only web2py-specific selectors.
> Moreover I want suggest this change in layout.html:
>
> <!--[if IE 9]> <html class="ie ie9 lte8 no-js"
> lang="{{=T.accepted_language or 'en'}}"> <![endif]-->
> <!--[if (gt IE 9)|!(IE)]><!--> <html class="no-js"
> lang="{{=T.accepted_language or 'en'}}"> <!--<![endif]-->
>
There used to be an [if IE 9], but I removed it (before seeing the .ie9
reference) because most problems with IE that require IE-specific CSS are
with versions prior to 9, so I like to be able to use the .ie selector
strictly for IE<9. As an alternative, how about:
<!--[if IE 9]> <html class="ie9 ie-lte9 no-js"
lang="{{=T.accepted_language or 'en'}}"> <![endif]-->
Notice no "ie" class, so .ie only refers to IE<9, but can still use
.ie-lte9 to refer to IE<10 (have to add ie-lte9 to the others as well).
Also, note that lte8 is not appropriate for IE9.
Anthony