About ads

Status
Not open for further replies.

jamili

New Member
Messages
8
Reaction score
0
Points
0
Well I got them showing but have one problem: How do I make them to go center of the page?:sad:
I've tried everything..
<center> <td align="center"> <div align="center"> <table align="center">
but none of them worked..

*Table seems to be working now.. Thanks for intention anyway..
 
Last edited:

Colin

Active Member
Messages
1,984
Reaction score
0
Points
36
<div align="center"> should work fine, it does for me... did you close the tag?? and are you sure that you've put the tag around the whole code??, when I get home I'll post the code I use
 

Colin

Active Member
Messages
1,984
Reaction score
0
Points
36
jamili said:
Well I got them showing but have one problem: How do I make them to go center of the page?:sad:
I've tried everything..
<center> <td align="center"> <div align="center"> <table align="center">
but none of them worked..

*Table seems to be working now.. Thanks for intention anyway..

here is the code I use, which works fine....
HTML:
<div align="center"><script language='JavaScript' type='text/javascript' src='http://x10hosting.com/advert/adx.js'></script> <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 ("&amp;what=zone:1&amp;target=_blank"); document.write ("&amp;exclude=" + document.phpAds_used); if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer)); document.write ("'><" + "/script>"); //--> </script><noscript><a href='http://x10hosting.com/advert/adclick.php?n=a7fb3e9d' target='_blank'><img src='http://x10hosting.com/advert/adview.php?what=zone:1&amp;n=a7fb3e9d' border='0' alt=''></a></noscript></div>
 

Bryon

I Fix Things
Messages
8,149
Reaction score
101
Points
48
What do you have the "ad code" in? That might be the problem if it's "container" is aligned left/right and not centered, and if it's "container's" width is small, then it won't center it..
 
Status
Not open for further replies.
Top