Ad Placement

diabolo

Community Advocate
Community Support
Messages
1,682
Reaction score
32
Points
48
On my site [ http://www.chineseyoyo.info ] I want to place the ads below the footer [the grey box at the bottom] I have positioned the code to be below the footer, but it doesn't seem to stay there. It keeps appearing in the body. I have used this placement with my other hosts, and they seemed to have worked; but they did use IFRAMES, that might have an affect on it. Can anyone help me with this?
 

diabolo

Community Advocate
Community Support
Messages
1,682
Reaction score
32
Points
48
that also does not work
Edit:
would this be a valid form of ad code?
Code:
<!-- AD CODE START -->
<center><iframe allowtransparency="true" src="http://diabolo.elementfx.com/adcode.php" width="468" height="60" style="border:0px;margin:0px;overflow:hidden" frameborder="0" scrolling="no"></iframe></center>
<!-- FINSH -->

and diabolo.elementfx.com/adcode.php is
Code:
<script type="text/javascript" src="http://x10hosting.com/adserve.js?corporate"></script>
 
Last edited:

Christopher

Retired
Messages
14,659
Reaction score
8
Points
0
Instead of using iframe, I recommend this:
Code:
<?php include("adcode.php"); ?>

If you are going to use iframe, you would have to use the code below for adcode.php
Code:
<html>
<body>
<script type="text/javascript" src="http://x10hosting.com/adserve.js?corporate"></script>
</body>
</html>
 

diabolo

Community Advocate
Community Support
Messages
1,682
Reaction score
32
Points
48
correct me if I am wrong, but doesn't the php include statement only includes the code into the webpage. Rather than recalling to the webpage?

and the adcode.php doesn't work either....
 
Top