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...

its great when you modify this in css

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

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

Bump? Maybe this is impossible.. =[

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.