I have a CSS style defined in a webview, defined in the <style> section:
And a <div that uses the style in the body:Code:<style> .verticalhorizontal { display: table-cell; height: 300px; text-align: center; width: 300px; vertical-align: middle; } </style>
The image loads (and twirls nicely) but the style settings have no effect.Code:<div class="verticalhorizontal"> <img src="loadDatalg.gif" alt="centered image" /> </div>
Clearly I'm missing something...
thanks,
Hank
Bookmarks