Prueba poniendo esto :
Código PHP:
<?php
$arrTot = mysql_query("SELECT * FROM encuestas_opt");
$tot = mysql_num_rows($arrTot);
$encuesta = mysql_query("SELECT * FROM encuestas ORDER BY id_enc LIMIT 0,1");
while($datos = mysql_fetch_array($encuesta)){
$id_enc = $datos['id_enc'];
$pregunta = $datos['pregunta'];
?>
<div style="width: 300px;">
<strong><?=$pregunta?></strong>
<ul style="list-style: none;">
<?php
$opts = mysql_query("SELECT * FROM encuestas_opt WHERE id_enc='".$id_enc."'");
while($dat2 = mysql_fetch_array($opts)) {
$id_opt = $dat2['id_opt'];
$opciones = $dat2['opciones'];
$num_votos = $dat2['num_votos'];
$ptos = $num_votos * 100;
$porcentaje = round($ptos/$tot,0);
?>
<li style="padding-bottom: 5px;"><?=$opciones?> - <?=$num_votos?> votos - <?=$porcentaje?>%
<div style="width: <?=$porcentaje?>%; height: 6px; background: #cc0000;"></div></li>
<?php
}
?>
</ul>
Total: <?=$tot?>
</div>
<?php
}
?>
Se supone que debes sacar el numero total de opciones elegidas para calcular el tot, y en las consultas arriba solo sacas el total de cierto id.
Suerte!