Help Placing Ad's in HTML

Status
Not open for further replies.

cuthisarminarf

New Member
Messages
216
Reaction score
0
Points
0
Ok guys.... Need your help.
Dunno What I'm doing wrong here, but I just can't seem to be able to ad the x10 corporate ads to the pages of my site. Each time I try to ad them they are not displayed online.

I'm using Dreamweaver. Below is the top part of the code before adding the ad script.

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>The Segression Forum Gateway
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#000000" leftmargin="0" topmargin="0">
<div align="center">
  <p> 


  <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">

Now.... where in this section of code do I put the ad code?? Below is what I have done, but it doesn't seem to work. I want the Ad at the very top of the page.

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>The Segression Forum Gateway
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<script language='JavaScript' type='text/javascript' src='http://x10hosting.com/advert/adx.js'>
<script language='JavaScript' type='text/javascript'>
<!--
	if (!document.phpAds_used) document.phpAds_used = ',';
	phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11);
	
	document.write ("<" + "script language='JavaScript' type='text/javascript' src='");
	document.write ("http://x10hosting.com/advert/adjs.php?n=" + phpAds_random);
	document.write ("&what=zone:1&target=_blank");
	document.write ("&exclude=" + document.phpAds_used);
	if (document.referrer)
		document.write ("&referer=" + escape(document.referrer));
	document.write ("'><" + "/script>");
//-->
</script>[url="http://x10hosting.com/advert/adclick.php?n=a7fb3e9d"][img]http://x10hosting.com/advert/adview.php?what=zone:1&n=a7fb3e9d[/img][/url]

<body bgcolor="#000000" leftmargin="0" topmargin="0">
<div align="center">
  <p> 


  <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
	<tr>

If anyone can help me it would be truly appreciated. I've finally uploaded all of my sites, and this is the only thing left I need to do.
Cheers Guys.
 

Phil

Retired Staff
Messages
7,344
Reaction score
0
Points
36
Stick the code nat the very top befor the
HTML:
<center> </center> tags around it.
 
Status
Not open for further replies.
Top