Le code qui fonctionne est le suivant :
Le fichier main.phtm contient:
Code : |
!set style=!record 0 of style.css
!set graph=!record 0 of graph.css
!set wims_html_header=!append line $style $graph to $wims_html_header
|
Les fichiers css style.css et graph.css doivent commencer et finir par ce bout de code.
Code : |
<style type="text/css">
.question {
margin : 10px;
padding : 10px;
background-color : #0f0;
-moz-border-radius : 0 10px 0 10px;
border: 2px solid #990000;
text-indent:30px;/* decalage de la première ligne */
text-align:justify;/* texte justifié */
}
.consigne {
background-color: #3ba9ed;
padding: 30px;
margin: 0px;
-moz-border-radius : 0 40px 0 40px;/* Les bordures arrondies */
border: 2px solid #990000;
text-align:justify;/* texte justifié */
text-indent:30px;/* decalage de la première ligne */
}
</style>
|