Hello,
I'm working on an app with some advertisement in it.
How can I get this advertisement in the middle of the screen?
I have already in the CSS:
code
[name=advertentie] {
position: fixed;
bottom: 55px;
width: 100%;
box-sizing: border-box;
-moz-box-sizing: border-box;
-web-box-sizing: border-box;
margin: 4px auto !important;
}
.advertisement {
margin-left: auto;
margin-right: auto;
}
/code
And I run into another question: The fixed width of this image is 234px.
I think that if the screen is smaller than 234px, the image will not show entirely.
Is there a solution to make the advertisement allways be 100% width and that the height will adjust?
The code of the image is:
code
<iframe style="overflow: hidden;" src="http://f.ds1.nl/?&x=234&y=60&ai=00000&an=&wi=000000&si=0000&li=0000000&ws=" width="234" height="60" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" border="0"></iframe>
/code
Kind regards,
Arie