diff --git a/main/exercice/fill_blanks.class.php b/main/exercice/fill_blanks.class.php
index 8e1c7299e5..b496b3a020 100644
--- a/main/exercice/fill_blanks.class.php
+++ b/main/exercice/fill_blanks.class.php
@@ -89,7 +89,7 @@ class FillBlanks extends Question {
value = document.getElementById("weighting["+i+"]").value;
else
value = "1";
- fields += "
| "+blanks[i]+" | |
";
+ fields += "| "+blanks[i]+" | |
";
}
}
diff --git a/main/exercice/matching.class.php b/main/exercice/matching.class.php
index 304200d1af..23d1434f79 100644
--- a/main/exercice/matching.class.php
+++ b/main/exercice/matching.class.php
@@ -160,9 +160,9 @@ class Matching extends Question {
$puce = FormValidator :: createElement ('text', null,null,'value="'.$i.'"');
$puce->freeze();
$group[] = $puce;
- $group[] = FormValidator :: createElement ('text', 'answer['.$i.']',null, 'size="30"');
+ $group[] = FormValidator :: createElement ('text', 'answer['.$i.']',null, 'size="30" style="margin-left: 0em;"');
$group[] = FormValidator :: createElement ('select', 'matches['.$i.']',null,$a_matches);
- $group[] = FormValidator :: createElement ('text', 'weighting['.$i.']',null, 'style="vertical-align:middle" size="2" value="1"');
+ $group[] = FormValidator :: createElement ('text', 'weighting['.$i.']',null, 'style="vertical-align:middle;margin-left: 0em;" size="2" value="1"');
$form -> addGroup($group, null, null, '');
$form -> addElement ('html', ' | ');
@@ -207,7 +207,7 @@ class Matching extends Question {
$puce = FormValidator :: createElement ('text', null,null,'value="'.chr(64+$i).'"');
$puce->freeze();
$group[] = $puce;
- $group[] = FormValidator :: createElement ('text', 'option['.$i.']',null, 'size="30"');
+ $group[] = FormValidator :: createElement ('text', 'option['.$i.']',null, 'size="30" style="margin-left: 0em;"');
$form -> addGroup($group, null, null, '');
$form -> addElement ('html', ' | ');
diff --git a/main/exercice/multiple_answer.class.php b/main/exercice/multiple_answer.class.php
index 58867b2ad5..b84bb6bae6 100644
--- a/main/exercice/multiple_answer.class.php
+++ b/main/exercice/multiple_answer.class.php
@@ -129,13 +129,13 @@ class MultipleAnswer extends Question {
$answer_number=$form->addElement('text', null,null,'value="'.$i.'"');
$answer_number->freeze();
- $form->addElement('checkbox', 'correct['.$i.']', null, null, $i);
+ $form->addElement('checkbox', 'correct['.$i.']', null, null, 'style="margin-left: 0em;"');
$boxes_names[] = 'correct['.$i.']';
$form->addElement('html_editor', 'answer['.$i.']',null, 'style="vertical-align:middle"');
$form->addRule('answer['.$i.']', get_lang('ThisFieldIsRequired'), 'required');
$form->addElement('html_editor', 'comment['.$i.']',null, 'style="vertical-align:middle"');
- $form->addElement('text', 'weighting['.$i.']',null, 'style="vertical-align:middle" size="5" value="0"');
+ $form->addElement('text', 'weighting['.$i.']',null, 'style="vertical-align:middle;margin-left: 0em;" size="5" value="0"');
$form -> addElement ('html', '');
}
$form -> addElement ('html', '');
diff --git a/main/exercice/unique_answer.class.php b/main/exercice/unique_answer.class.php
index 20c807c1ad..9959e04134 100644
--- a/main/exercice/unique_answer.class.php
+++ b/main/exercice/unique_answer.class.php
@@ -130,11 +130,11 @@ class UniqueAnswer extends Question {
$answer_number=$form->addElement('text', null,null,'value="'.$i.'"');
$answer_number->freeze();
- $form->addElement('radio', 'correct', null, null, $i);
+ $form->addElement('radio', 'correct', null, null, $i, 'style="margin-left: 0em;"');
$form->addElement('html_editor', 'answer['.$i.']',null, 'style="vertical-align:middle"');
$form->addRule('answer['.$i.']', get_lang('ThisFieldIsRequired'), 'required');
$form->addElement('html_editor', 'comment['.$i.']',null, 'style="vertical-align:middle"');
- $form->addElement('text', 'weighting['.$i.']',null, 'style="vertical-align:middle" size="5" value="0"');
+ $form->addElement('text', 'weighting['.$i.']',null, 'style="vertical-align:middle;margin-left: 0em;" size="5" value="0"');
$form -> addElement ('html', '');
}
$form -> addElement ('html', '');