I have the following HTML5 document:
<canvas id="myCanvas">
</canvas>
<img id="logo" src="/images/logo.png" style="visibility:collapse" />
<div id="adControl" style="width: 728px; height: 90px; border: solid 1px red; visibility:visible;"
data-win-control="MicrosoftNSJS.Advertising.AdControl"
data-win-options="{applicationId: 'xyz', adUnitId: '123'}">
</div>
I'm trying to make the adcontrol appear in the centre at the bottom of the screen, beneath the canvas. Here's my CSS:
#adControl {
float:left;
margin: 0px auto;
}
#myCanvas {
float:left;
}
I've tried various combinations of margin for the adcontrol, but don't seem to be able to centralise it.
#adControl { clear:left; margin: 0px auto; }
– Finke#adControl
to be fixed at the bottom of the screen or just below the#myCanvas
? – PerennatemyCanvas
– Rankins