-
July 17th, 2017, 05:05 PM
#1
Junior Member
Overcoming Google Ads (and similar ad systems)
So you fancied putting a site on the net! Cash strapped you signed up to a free website provider, but wait a minute, what is that?, they have stuck stupid adverts all over your website. Don't put up with it, fight back with CSS.
Advert code like the new google ads are embedded into your website html code server-side so there is nothing you can do right ? Wrong! With the use of CSS you are able to give absolute positioning to elements on your site. This mean that you will be able to place tables, images, text etc over any embedded adverts thereby covering them up and getting 100% of your webpage back.
The follow code ........
<table style="position: absolute; top:0px; left:0px" cellpadding=0 cellspacing=0 height=100% width=100% background="MyBackground.jpg">
<tr>
<td>
 
</td>
</tr>
</table>
...... will place a table over the whole page, covering up any ads placed by your provider. The "background" tag target can be changed to any image that you wish to have as the background, or if you just wanted a plain coloured background you could remove the background tag and replace it with a "bgcolor=white" tag, changing the colour to any that you wish.
Next the code ........
<table style="position: absolute; top:0px; left:0px" cellpadding=0 cellspacing=0 height=100% width=100% bgcolor=red>
<tr>
<td>
<b>Hello World</b> <!-- Start building your normal website here //-->
</td>
</tr>
</table>
...... will place another table over your background table. This will allow you to start building your site as normal, but this time without the adverts. 100% of the space is yours!
Hope you find this useful .... Good Luck!
Similar Threads
-
By zillah in forum Newbie Security Questions
Replies: 30
Last Post: April 24th, 2006, 11:19 AM
-
By pooh sun tzu in forum Network Security Discussions
Replies: 25
Last Post: April 19th, 2004, 05:09 PM
-
By mikester2 in forum Other Tutorials Forum
Replies: 1
Last Post: January 20th, 2004, 09:40 PM
-
By BobDoleX in forum AntiOnline's General Chit Chat
Replies: 4
Last Post: July 16th, 2003, 10:36 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|