Getting rid of a forced text ad
Posted: Sun Jun 22, 2008 1:15 pm
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-
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-
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
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">
http://luminaryhelp.co.nr/
Look very closely under the footer to see the ad