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">
|
||||
<h2>Nouvelle question</h2>
|
||||
|
||||
<section id="typeOfCourse">
|
||||
<section id="Form">
|
||||
<aside id="info">
|
||||
|
||||
<h3>Quelques détails</h3>
|
||||
|
@ -103,27 +103,31 @@
|
|||
</optgroup>
|
||||
</select>
|
||||
</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>
|
||||
|
||||
<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>
|
||||
|
||||
<footer>
|
||||
|
|
13
style.css
13
style.css
|
@ -26,19 +26,12 @@ form
|
|||
vertical-align: top;
|
||||
}
|
||||
|
||||
#typeOfCourse
|
||||
{
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
aside
|
||||
{
|
||||
float: right;
|
||||
}
|
||||
|
||||
#list
|
||||
{
|
||||
float: left;
|
||||
width: 30%;
|
||||
border-left: solid;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
footer
|
||||
|
|
Reference in a new issue