ลองทำตาม
ก่อนอื่นๆ
เปิด notepad ขึ้นมา
แล้วเอาอันนี้แปะ
test.html
<script type="text/javascript"><!--
google_ad_client = "ca-test";
google_ad_width = 234;
google_ad_height = 60;
google_ad_format = "234x60_as";
google_ad_type = "text";
google_ad_channel ="";
google_color_border = "1E2325";
google_color_bg = "1E2325";
google_color_link = "FaAf31";
google_color_text = "aaaaaa";
google_color_url = "aaaaaa";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
คือ เอา code ของ adsense เปล่าๆ นะแหละ แปะลงใน notepad แล้ว save เป็น ชื่อไรก็ได้ ใส่นาสกุลว่า .html หรือ .htm
แล้วต่อไป
ใช้โปแกรม firefox เท่านั้น (หรือ mozilla, seamonkey)
ให้ใช้ firefox เปิดไฟล์ test.html
แล้วเลือกเมนู file ==> save page as
แล้ว เลือกเซพ
สั่งให้เซไปที่ desktop หรือ new folder ที่ใหนก็ได้
จากนั้นเปิดไปที๋โฟลเดอร์นั่น จะมีไฟล์ อันหนึ่งคือ ads.html โพล่มา (หรืือ ชื่ออื่นๆ เช่น ads.htm ads1.htm ads2.htm
นี่คือไฟล์ adsense ที่มันแสดงผลออกมานะแหละครับ ก็อปปตรงๆ ไม่ได้เเพราะมันเป้น javascript ต้องเซฟลงเครื่องก่อน ใช้ IE เปิดและเซฟ ไม่ได้ ต้องใช้ firefox เท่านั้น
ใช้ notepad หรือ ediplus หรือ textedit อันใหนก็ได้
เปิดไฟล์ ads.htm ขึ้นมา
ก็จะพบ ขนาดของฟอ้น ของ adsense
ก็ก็อปปี้ หรือ แกะมาใช้ ตามข้อมูลนั้น
ที่นี้เราก็ แหก เอ้ย แฮ้ก ฟอนต์ได้แล้ว ขนาดกรอบเอาไว้ทีหลัง
ก็จะได้
<style type="text/css">
body {
font-size: 10px;
font-family: verdana,arial,sans-serif;
color: rgb(170, 170, 170);
line-height: 12px;
background-color: #1E2325 }
a {
font-weight: bold;
font-size: 11px;
font-family: verdana,arial,sans-serif;
line-height: 14px;
color: #faaf31
}
</style>