From 24e61772321906f3dd63801d1b11c3421fb86cab Mon Sep 17 00:00:00 2001 From: rvelices Date: Wed, 16 Nov 2011 20:46:46 +0000 Subject: simplify cross browser rating stars display git-svn-id: http://piwigo.org/svn/trunk@12639 68402e56-0260-453c-a942-63ccdbb3a9ee --- themes/default/fix-ie7.css | 3 --- themes/default/js/rating.js | 3 +-- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'themes') diff --git a/themes/default/fix-ie7.css b/themes/default/fix-ie7.css index b7e7fa798..d4c343f24 100644 --- a/themes/default/fix-ie7.css +++ b/themes/default/fix-ie7.css @@ -23,6 +23,3 @@ display: block; } -INPUT[type='submit'] { - text-indent: 0px !important; -} \ No newline at end of file diff --git a/themes/default/js/rating.js b/themes/default/js/rating.js index 3bc846681..6e382d7a7 100644 --- a/themes/default/js/rating.js +++ b/themes/default/js/rating.js @@ -23,10 +23,9 @@ function makeNiceRatingForm(options) rateButton.initialRateValue = rateButton.value; // save it as a property try { rateButton.type = "button"; } catch (e){}// avoid normal submit (use ajax); not working in IE6 - if (navigator.userAgent.indexOf('AppleWebKit/')==-1 && navigator.userAgent.indexOf('MSIE 8')==-1) rateButton.value = ""; //hide the text IE<8/Opera - breaks safari + rateButton.value = " "; //hide the text (Apple + IE would show text above the stars) with (rateButton.style) { - textIndent = "-50px"; //hide the text FF marginLeft = marginRight = 0; } -- cgit v1.2.3