Getting rid of a forced text ad

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
groog
Forum Newbie
Posts: 15
Joined: Wed Jun 18, 2008 11:48 am

Getting rid of a forced text ad

Post by groog »

Ok, so I got this free host from myhosting247.com which claims that they don't have pop ups or banner ads. Well they deceitfully lead me into believing there were, in fact, no ads at all. But I later found that there are text ads placed at the bottom. With this I was trying to get rid of them and found I can actually alter the font, size and color of the text. Unfortunately I couldn't change the link color. But I would rather get rid of them all together. One way I have thought to do this is making a div with absolute positioning at the bottom center. I would put an image over it and have it cover up the text but when more information was added to the page It would have been covered up by that div. So, the second thing I would like to know is if there is any php code I can use to delete everything in a div. Like a function like-

Code: Select all

$thisdiv = echo "<div id=\"div\">;
deletethiscrap($thisdiv);
 
Or have any ideas I could make my own function to do that?
 
Other idea. If any of you know css, is it possible to put the div that this ad is in under the header image maybe? If I position it over it now it would show up on top. But could I send it to the back maybe?
Here is my script-

Code: Select all

<html>
<head>
<title>Luminary help</title>
<link href="index.css" rel="stylesheet" type="text/css">
</head>
<body>
<?php
require ('includes/index_include.php');
?>
</body>
</html>
<div id="loose">
 
Ok, so the div id "loose" doesn't have a closing </div> because the ad is ingeniously placed after </html>. So the ad is now placed in the "loose" div. Here is my site I'm making-

http://luminaryhelp.co.nr/

Look very closely under the footer to see the ad ;)
User avatar
JAB Creations
DevNet Resident
Posts: 2341
Joined: Thu Jan 13, 2005 6:44 pm
Location: Sarasota Florida
Contact:

Re: Getting rid of a forced text ad

Post by JAB Creations »

1.) This is a clientside issue and therefor this thread belongs in the clientside forum.

2.) They state that your website will have no banner ads and you're mentioning text ads. I fail to see any form of deception.

3.) This thread belongs in clientside forum because all you really have to do is either use CSS to hide their text ads (which is executed at the client's computer where they won't have any control over it any way) or create an element designed to have a greater z-index value that you can place over their text ads.
Post Reply