From: jamiesensei Date: Fri, 1 Dec 2006 06:33:23 +0000 (+0000) Subject: fixed 2 problems with css styling : X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=a12034e4abf21daa1a02d0f75e0cafcfd5ef72e7;p=moodle.git fixed 2 problems with css styling : * some padding for htmleditor to stop label appearing in htmleditor toolbar. * fix for vertical alignment of input elements --- diff --git a/theme/standard/styles_layout.css b/theme/standard/styles_layout.css index a16f54404c..8af6a3f0c9 100644 --- a/theme/standard/styles_layout.css +++ b/theme/standard/styles_layout.css @@ -325,27 +325,13 @@ form.mform div.fitem { width: 100%; min-height: 1.5em; } -/* uncomment this and edit formslib.php for -ol li containers for form items. -form.mform fieldset li.qfrow { - list-style: none; - padding: 5px; - margin: 0; - clear: both; - width: 100%; - min-height: 1.5em; -} -form.mform fieldset ol { - margin: 0; - padding: 0; -}*/ form.mform label { display: block; float: left; width: 30%; padding: 0; - margin: 0 0 0 0; + margin: 5px 0 0 10px; text-align: right; } div.fitem fieldset.fgroup label, div.fradio label, div.fcheckbox label{ @@ -381,6 +367,7 @@ form.mform div.fhtmleditor { width : 600px; clear:both; float:none; + padding: 25px 0 20px 0; } form.mform span.error, form.mform span.required { color: red;