style
This commit is contained in:
parent
db237fa932
commit
d439ea13ab
2 changed files with 27 additions and 30 deletions
44
index.html
44
index.html
|
@ -61,7 +61,7 @@
|
||||||
<form id="formulaire" method="post" action="questions.php">
|
<form id="formulaire" method="post" action="questions.php">
|
||||||
<h2>Nouvelle question</h2>
|
<h2>Nouvelle question</h2>
|
||||||
|
|
||||||
<section id="typeOfCourse">
|
<section id="Form">
|
||||||
<aside id="info">
|
<aside id="info">
|
||||||
|
|
||||||
<h3>Quelques détails</h3>
|
<h3>Quelques détails</h3>
|
||||||
|
@ -103,27 +103,31 @@
|
||||||
</optgroup>
|
</optgroup>
|
||||||
</select>
|
</select>
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
|
<article>
|
||||||
|
<p id="questionPart">
|
||||||
|
<label id="q" for="question">
|
||||||
|
Quelle est votre question ? </label><br/>
|
||||||
|
<textarea id="question" name="question"
|
||||||
|
rows="10" cols="50"
|
||||||
|
placeholder="Entrez votre question ici"></textarea>
|
||||||
|
</p>
|
||||||
|
<p id="answerList">
|
||||||
|
<label for="answer">Quelle est la réponse ? </label><br/>
|
||||||
|
<input id="answer" name="answer0" type="text" />
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<input type="button" value="Ajouter une réponse supplémentaire"
|
||||||
|
onclick="add()"/>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<input type="submit" name="send" value="Envoyer" />
|
||||||
|
</p>
|
||||||
|
</article>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<p id="questionPart">
|
|
||||||
<label id="q" for="question">Quelle est votre question ? </label>
|
|
||||||
<textarea id="question" name="question"
|
|
||||||
rows="10" cols="50"
|
|
||||||
placeholder="Entrez votre question ici"></textarea>
|
|
||||||
</p>
|
|
||||||
<p id="answerList">
|
|
||||||
<label for="answer">Quelle est la réponse ? </label>
|
|
||||||
<input id="answer" name="answer0" type="text" />
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<input type="button" value="Ajouter une réponse supplémentaire"
|
|
||||||
onclick="add()"/>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<input type="submit" name="send" value="Envoyer" />
|
|
||||||
</p>
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
|
|
13
style.css
13
style.css
|
@ -26,19 +26,12 @@ form
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
|
|
||||||
#typeOfCourse
|
|
||||||
{
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
|
|
||||||
aside
|
aside
|
||||||
{
|
{
|
||||||
float: right;
|
float: right;
|
||||||
}
|
width: 30%;
|
||||||
|
border-left: solid;
|
||||||
#list
|
padding: 10px;
|
||||||
{
|
|
||||||
float: left;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
footer
|
footer
|
||||||
|
|
Reference in a new issue