td.mw-label { vertical-align: top; }
td.mw-submit { white-space: nowrap; }
-/**
- * Lists (fixing for RTL display)
- */
-body.rtl #body-content ul { display:table; }
-body.rtl #body-content ol { display:table; }
-
/**
* Image captions
*/
table.filehistory th {
text-align: right;
}
+
+/**
+ * Lists:
+ * The following lines don't have a visible effect on non-Gecko browsers
+ * They fix a problem ith Gecko browsers rendering lists to the right of
+ * left-floated objects in an RTL layout.
+ */
+html>body.rtl #bodyContent ul { display:table; }
+html>body.rtl #bodyContent ol { display:table; }
\ No newline at end of file