Fixed and closed #407: unwanted horizontal scrollbar in PRE tags in IE7 no longer displayed (CSS hack).

This commit is contained in:
Dario Solera 2009-12-14 18:13:00 +00:00
parent 5a396a5ae0
commit 2fac8b8ef7
4 changed files with 20 additions and 2 deletions

View file

@ -16,5 +16,5 @@ using System.Reflection;
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("3.0.1.442")]
[assembly: AssemblyFileVersion("3.0.1.442")]
[assembly: AssemblyVersion("3.0.1.443")]
[assembly: AssemblyFileVersion("3.0.1.443")]

View file

@ -222,6 +222,12 @@ pre {
border: solid 1px #DDDDDD;
overflow: auto;
}
html>body pre {
/* Fix for IE7 - unwanted horizontal scrollbar */
overflow-x: auto;
overflow-y: hidden;
padding-bottom: expression(this.scrollWidth > this.offsetWidth ? 19 : 8);
}
table, div {
padding: 0px;

View file

@ -244,6 +244,12 @@ pre {
border: solid 1px #DDDDDD;
overflow: auto;
}
html>body pre {
/* Fix for IE7 - unwanted horizontal scrollbar */
overflow-x: auto;
overflow-y: hidden;
padding-bottom: expression(this.scrollWidth > this.offsetWidth ? 19 : 8);
}
table, div {
padding: 0px;

View file

@ -224,6 +224,12 @@ pre {
border: solid 1px #DDDDDD;
overflow: auto;
}
html>body pre {
/* Fix for IE7 - unwanted horizontal scrollbar */
overflow-x: auto;
overflow-y: hidden;
padding-bottom: expression(this.scrollWidth > this.offsetWidth ? 19 : 8);
}
table, div {
padding: 0px;