I followed a tutorial i found here to get leadbolt ads to work with crosswalk and they do work however the ad doesnt fill the iframe object. I tried setting the ad size to the object size in settings but no luck. And i tried auto fill and stretch but still nothing. Is there any way to get the ads to fill the iframe object?
Develop games in your browser. Powerful, performant & highly capable.
Where did you put the code for the leadbolt ad? is it in the index.html file ?
http://www.w3schools.com/tags/tag_iframe.asp (use the height and width tags) if you cant make the ad fit the iframe make the iframe fit the ad.
I got it to resize slightly better however it's not centered to the layout and some of the test ads text gets cut off. I have a layout of 640X1136 and the Iframe is 640X90. I positioned it to the bottom of the screen and I set the leadbolt banner to auto stretching.
<!DOCTYPE html><!--HTML5 doctype-->
<title>Leadbolt Framed Ad for Android Games</title>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<div style="position: fixed; bottom: 0px; left: 0px; width: 640px; height: 90px;">
I put the code for the index file in the ads.html file i followed this tut: https://www.scirra.com/tutorials/876/ho ... orted-game
oh okay nice work man,
Where it says "position: fixed" see if maybe you can switch fixed with center. if that doesnt work try this http://allwebco-templates.com/support/S ... _HTML5.htm
http://stackoverflow.com/questions/3011 ... lign-table