diff options
Diffstat (limited to 'css/astaf/ie_patch_layout.css')
| -rw-r--r-- | css/astaf/ie_patch_layout.css | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/css/astaf/ie_patch_layout.css b/css/astaf/ie_patch_layout.css new file mode 100644 index 0000000..54a6452 --- /dev/null +++ b/css/astaf/ie_patch_layout.css @@ -0,0 +1,47 @@ +/** + * "Yet Another Multicolumn Layout" - (X)HTML/CSS framework + * (en) IE patch stylesheet + * (de) IE-Anpassungs-Stylesheet + * + * @creator YAML Builder V1.2.1 (http://builder.yaml.de) + * @file patch_my_layout.css + * @-yaml-minver 3.3 + */ + +/* Layout independent adjustments | Layout-unabhängige Anpassungen */ +@import url(../../../yaml/core/iehacks.css); + +/* Layout-dependent adjustments | Layout-abhängige Anpassungen */ +@media screen, projection +{ + /** + * Bugfix for IE 3-Pixel-Jog Bug + * + * @bugfix + * @affected IE 5.x/Win, IE6 + * @css-for IE 5.x/Win, IE6 + * @valid yes + */ + + * html #col3 {height: 1%} + * html #col1 {margin-right: -3px} + * html #col2 {margin-left: -3px} + * html #col3 {margin-left: 24%; margin-right: 24% } + + /** + * min-width/max-width workaround for IE + * + * @workaround + * @affected IE 5.x/Win, IE6 + * @css-for IE 5.x/Win, IE6 + * @valid no + */ + + * html .page_margins { + /* Fallback if JavaScript is disabled */ + width: auto; + + /* JS-Expression for min-/max-width simulation */ + width: expression((document.documentElement && document.documentElement.clientHeight) ? ((document.documentElement.clientWidth < 740) ? "740px" : ((document.documentElement.clientWidth > (90 * 16 * (parseInt(this.parentNode.currentStyle.fontSize) / 100))) ? "90em" : "auto" )) : ((document.body.clientWidth < 740) ? "740px" : ((document.body.clientWidth > (90 * 16 * (parseInt(this.parentNode.currentStyle.fontSize) / 100))) ? "90em" : "auto" ))); + } +} |
