How to beautify Google AdSense Advertising method _ website Application

Source: Internet
Author: User
Tags border color
in the web to see a landscaping Google AdSense ads, pleasing, do not modify the code, do not violate the rules, indeed very powerful. First, do a background image (such as the following), uploaded to the template directory in the images directory, wide and high 555x79, of course, the size of the background map you can completely customize, depending on the size of the Google AdSense ads you will display.

screen.width*0.7) {this.resized=true; this.width=screen.width*0.7 this.alt= ' Click here to open new window\ Nctrl+mouse Wheel to zoom in/out ';} ' Border=0>

Then, add the following code to the template's Style.css style sheet file:

#gsbg_single {
width:480px;
height:70px;
Background-image:url (images/gsbg2.jpg);
padding-top:10px;
padding-left:75px;
}

Finally, in the place where you want the display to appear, insert the following code in the template:

<div id=gsbg_single>
# Here insert Google AdSense code
</ Div>

If the position is biased, then debug the value of Padding-top or padding-left until the position is correct. The
effect is as follows:

screen.width*0.7) {this.resized=true; this.width=screen.width*0.7 this.alt= ' Click here to open new Window\nctrl+mouse Wheel to zoom in/out ';} ' Border=0>

I add, add background picture to change AdSense font and border color for #cbecf5, of course, you can also customize

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.