Hi,
I must admit that I have not a Davis, so I've not worked on it!

To solve your problem, a little modification to line #119:
<td style="padding-left: 70px
; padding-right: 25px"> <?php echo $battery. ' '.$txbattery; ?></td>
Your text will be aligned.
But problem with Davis seems that 'channels' are 'ok' if no sensor is present!
So, you probably have not 8 sensors!, so you can probably 'call' only channel
that you have, like this:
<br />
House<?php echo $txbattery1; ?>
<br />
GreenHouse<?php echo $txbattery2; ?>
<br />
Stable<?php echo $txbattery3; ?>
...
Hope this help!
Regards,
Jacques