Rev 6509 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
\title{Ex de styles css}
\css{
<style type="text/css">
.consigne { background-color: #FFFFCC;
color: navy;
margin: 2% 5%;
padding: 1%;}
.cadre{ border-style:none;
border-width:10px;
margin-left:auto;margin-right:auto;}
table.cadre th { border-style:solid;
border-width:1px;
color:blue;
padding:3px;
text-align:center;}
table.cadre td {
padding:3px;
text-align:center;}
.sol { color:green;
font-size:100%;
font-weight: bold;}
</style>
}
\statement{
<div class="consigne"> Résoudre les deux équations suivantes :</div>
<table class="cadre"><tr>
<th> 2x - 1 = 0 </th>
<td> a pour solution x = \embed{reply1,10} </td></tr>
<tr><th> 4y + 3 = y </td>
<td> a pour solution y = \embed{reply2,10} </td></tr>
</table>
}
\answer{x=}{0.5}{type = numexp}
\answer{y=}{-1}{type = numexp}
\solution{<p class="sol"> 2x - 1 = 0 a pour solution x = 0.5 et
4y + 3 = y a pour solution y = -1</p>}