From 181f4d7a6e967446d39cc9753eb3c49a14058abb Mon Sep 17 00:00:00 2001 From: Joonas Lehtinen Date: Fri, 4 Jul 2008 12:33:50 +0000 Subject: [PATCH] Fixes #1912 : IOrderedLayout regression - captionless fields dont clear floats properly svn changeset:5063/svn branch:trunk --- .../themes/default/orderedlayout/orderedlayout.css | 12 ++++++------ WebContent/ITMILL/themes/default/styles.css | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/WebContent/ITMILL/themes/default/orderedlayout/orderedlayout.css b/WebContent/ITMILL/themes/default/orderedlayout/orderedlayout.css index 20bd173f53..cc66eda0b7 100644 --- a/WebContent/ITMILL/themes/default/orderedlayout/orderedlayout.css +++ b/WebContent/ITMILL/themes/default/orderedlayout/orderedlayout.css @@ -26,17 +26,17 @@ i-orderedlayout-margin-top { */ /* Placing error indicator right after the widget with empty caption */ -.i-orderedlayout-w:after, .i-orderedlayout-c:after { +.i-orderedlayout-c * { float:left; display: block;} +.i-orderedlayout-w-e { float:left;} +* html .i-orderedlayout-c, * html .i-orderedlayout-w { height: 1%; } +.i-orderedlayout-w { display: block; } +.i-orderedlayout-c { float:left; display: block;} +.i-orderedlayout-w:after, .i-orderedlayout-c:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } -.i-orderedlayout-c * { float:left; display: block;} -.i-orderedlayout-w-e { float:left;} -* html .i-orderedlayout-c, * html .i-orderedlayout-w { height: 1%; } -.i-orderedlayout-w { display: block; } -.i-orderedlayout-c { float:left; display: block;} *+ html .i-orderedlayout-c { float:none; } * html .i-orderedlayout-c { float:none; } diff --git a/WebContent/ITMILL/themes/default/styles.css b/WebContent/ITMILL/themes/default/styles.css index a633b07a36..99f9cfae23 100644 --- a/WebContent/ITMILL/themes/default/styles.css +++ b/WebContent/ITMILL/themes/default/styles.css @@ -725,18 +725,18 @@ i-orderedlayout-margin-top { */ /* Placing error indicator right after the widget with empty caption */ -.i-orderedlayout-w:after, .i-orderedlayout-c:after { +.i-orderedlayout-c * { float:left; display: block;} +.i-orderedlayout-w-e { float:left;} +* html .i-orderedlayout-c, * html .i-orderedlayout-w { height: 1%; } +.i-orderedlayout-w { display: block; } +.i-orderedlayout-c { float:left; display: block;} +.i-orderedlayout-w:after, .i-orderedlayout-c:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } -.i-orderedlayout-c * { float:left; display: block;} -.i-orderedlayout-w-e { float:left;} -* html .i-orderedlayout-c, * html .i-orderedlayout-w { height: 1%; } -.i-orderedlayout-w { display: block; } -.i-orderedlayout-c { float:left; display: block;} *+ html .i-orderedlayout-c { float:none; } * html .i-orderedlayout-c { float:none; } .i-panel, -- 2.39.5