I have a problem with iFrames, at the moment I am using this.
I am using this to cut the top off the iFrame, as the iFrame is a casino game, and the top of it links to the main site, so I do not want people clicking the top and going direct to the website.
The problem with this code is that the -100px leaves a 100px gap after the iframe, so when I add text after the game, there is a big blank 100px space. I do not want this space, but still to be able to cut 100px off the top of the iFrame. Does anyone know how to achieve this?
Code:
[FONT=monospace]<iframe style="width: 599px; height: 570px; margin-top: -100px; overflow: hidden;" src="[U]http://www.thegame.com[/U]" height="570" width="619" frameborder="0">[/FONT][FONT=monospace]</iframe>[/FONT]
I am using this to cut the top off the iFrame, as the iFrame is a casino game, and the top of it links to the main site, so I do not want people clicking the top and going direct to the website.
The problem with this code is that the -100px leaves a 100px gap after the iframe, so when I add text after the game, there is a big blank 100px space. I do not want this space, but still to be able to cut 100px off the top of the iFrame. Does anyone know how to achieve this?