
12/08/2010, 07:16
|
| | Fecha de Ingreso: febrero-2010
Mensajes: 49
Antigüedad: 15 años, 1 mes Puntos: 0 | |
Respuesta: Como realizar este trabajo mira tengo esto pero es html
<style>
.clear{
clear:both;}
.graphcont {
padding-top:2px;
color:#000;
font-weight:700;
float:left
}
.graph {
float:left;
margin-top:2px;
background-color:#cecece;
position:relative;
width:165px;
padding:0
}
.graph .bar {
display:block;
position:relative;
background-image:url(/images/bargraph.gif);
background-position:right center;
background-repeat:repeat-x;
border-right:#538e02 1px solid;
text-align:center;
color:#fff;
height:20px;
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
line-height:1.9em
}
.graph .bar span {
position:absolute;
left:1em
}
</style>
<table width="100%">
<tbody>
<div class="graph">
<td align=\"center\"><strong class="bar" style="width: 90.5%;"><font color="black">231/600</font></strong></td>
</div>
</td></tr>
</tbody>
me faltaria conectar con la tabla que quiero y creo que seria poner donde el porcentaje el $result del valor de dicha tabla para que asi si es mas enseñe mas de div no? como podria hacerlo? |