From 2cc4b216ecfd4295f355d884994394e23aa4d4fe Mon Sep 17 00:00:00 2001 From: Denis Chenu Date: Sat, 10 Aug 2013 01:29:31 +0200 Subject: [PATCH] Fixed issue : Ranking question are not side by side in IE7 Dev: IE7 round up Dev: I don't see this first time ? Dev: trying overflow hack too : no way --- styles-public/ranking.css | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/styles-public/ranking.css b/styles-public/ranking.css index cff3fc1035b..92087cd52f7 100644 --- a/styles-public/ranking.css +++ b/styles-public/ranking.css @@ -1,14 +1,16 @@ -/* Drag-n-drop ranking default styles */ - +/** + * Drag-n-drop ranking default styles + * @license This file is part of LimeSurvey under GNU/GPL License v2 or later, see LICENSE.php + */ +.ranking-answers{width:100%;} +.dragDropTable {width: 100%;} .dragDropTable .SortableTitle{display:block} -.dragDropTable .columns2{width:50%;float:left;margin:0;padding:0;} +.dragDropTable .columns2{width:50%;float:left;margin:0;padding:0; +*width:49%;/* IE7 round up, all other round down */ +} :dir(ltr) .dragDropTable .columns2{float:right} .dragDropTable .clear{clear:both} -.dragDropTable { - width: 100%; -} - .dragDropTable .dragDropChoices, .dragDropTable .dragDropRanks { @@ -32,7 +34,7 @@ margin-top:0; padding: 3px; min-height: 1.3em; - *height: 1.3em; + *height:1.3em; font-weight: normal; cursor: move; clear:both;