I have a CSS style defined in a webview, defined in the <style> section:

Code:
<style>
.verticalhorizontal {
    display: table-cell;
    height: 300px;
    text-align: center;
    width: 300px;
    vertical-align: middle;
}
</style>
And a <div that uses the style in the body:

Code:
<div class="verticalhorizontal">    <img src="loadDatalg.gif" alt="centered image" />
</div>
The image loads (and twirls nicely) but the style settings have no effect.

Clearly I'm missing something...

thanks,

Hank