0

Hey Everyone. I recently created a game in abode director, and lost the .dir file. I currently ONLY have the .dcr, and back when I created the game, I added an obnoxious 'permanent' banner to an old affiliate who did not support me back. (So I would prefer to no longer support him.)

The banner is 100px in height, yet I want the game area to play in full screen.

So far I have set the game in an iframe, and I 'figured' I would be able to make the screen 100% by 100%, and then add 100 to the height to put the banner below visibility unless the user scrolls down.

So this is what I have:

<style type="text/css">
body {margin-top: 0px;
      margin-right: 0px;
      margin-bottom: 100px;
      margin-left: 0px;}
html {
        overflow: auto;
}
</style>
<center>
<iframe frameborder=0 scrolling=no width=100% height="100%+100" src="/Restrict_game.dcr" align=top>
</center>

Sadly, the code does not execute in the way I would like it to. So any help would be appreciated!


Note: I realize I can set it to a static height, but that creates an issue with users who have different resolutions...

Edited by restrictment: n/a

2
Contributors
3
Replies
4
Views
6 Years
Discussion Span
Last Post by restrictment
0

you can make the height 100% + 100px in css? Please give an example.

I am thinking this would be more plausible in javascript..

Edited by restrictment: n/a

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.