html - How can I align my adsense graphics? -
i use google adsense , added image ad , not aligned. how can align it? css available here. added advertisement unit below map , renders left. can done it?
.
<!doctype html> <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <meta charset="utf-8"> <meta name="keywords" content="houses apartments, vacation homes, offices, land, flatmates,paying guest, other real estate, cars, motorcycles, accessories parts, trucks, other vehicles, home garden, clothing, kids (toys clothes), jewelry watches, hobbies, sports bicycles, movies, books magazines, pets, tickets, art collectibles, music instruments, computers accessories, tv, audio, video, cameras, cellphones gadgets, video games consoles, job offers, resumes, services, classes, professional,office equipment, other, "> <meta name="description" content="find jobs, cars, houses, mobile phones , properties sale in region conveniently. find best deal among {{count}} free ads online!"> <title>free classifieds in india - koolbusiness.com</title> <link href="/static/css/koolindex_in.css?0.238133053892" rel="stylesheet" type="text/css"> <script type="text/javascript" src="/static/js/jquery-1.10.2.min.js?0.238133053892"></script> </head> <body> {% include "kooltopbar.html" %} <script type='text/javascript' src='http://www.google.com/jsapi'></script> <script type='text/javascript'> function drawmap() { var data = google.visualization.arraytodatatable([ ['province'], ['goa'], ['gujarat'], ['andhra pradesh'], ['arunachal pradesh'], ['assam'], ['bihar'], ['chhattisgarh'], ['goa'], ['gujarat'], ['haryana'], ['himachal pradesh'], ['jammu , kashmir'], ['jharkhand'], ['karnataka'], ['kerala'], ['madhya pradesh'], ['maharashtra'], ['manipur'], ['meghalaya'], ['mizoram'], ['nagaland'], ['orissa'], ['punjab'], ['rajasthan'], ['sikkim'], ['tamil nadu'], ['tripura'], ['uttaranchal'], ['uttar pradesh'], ['west bengal'], ['delhi'], ['lakshadweep'], ['daman , diu'], ['dadra , nagar haveli'], ['chandigarh'], ['pondicherry'], ['andaman , nicobar islands'] ]); var options = { region:'in', backgroundcolor: '#81d4fa', datalessregioncolor: '#ffc801', width:468, height:278, resolution: 'provinces', }; var container = document.getelementbyid('mapcontainer'); var chart = new google.visualization.geochart(container); function myclickhandler(){ var selection = chart.getselection(); var message = ''; (var = 0; < selection.length; i++) { var item = selection[i]; // if (item.row != null && item.column != null) { message += '{row:' + item.row + ',column:' + item.column + '}'; //} else if (item.row != null) { message += '{row:' + item.row + '}'; //} else if (item.column != null) { // message += '{column:' + item.column + '}'; } } if (message == '') { message = 'nothing'; } //alert('you selected ' + message); if (item.row==2) { window.location = "/andhra_pradesh/"; } if (item.row==3) { window.location = "/arunachal_pradesh/"; } if (item.row==4) { window.location = "/assam/"; } if (item.row==6) { window.location = "/chhattisgarh/"; } if (item.row==8) { window.location = "/gujarat/"; } if (item.row==9) { window.location = "/haryana/"; } if (item.row==10) { window.location = "/himachal_pradesh/"; } if (item.row==11) { window.location = "/jammu_kashmir/"; } if (item.row==12) { window.location = "/jharkhand/"; } if (item.row==14) { window.location = "/kerala/"; } if (item.row==15) { window.location = "/madhya_pradesh/"; } if (item.row==16) { window.location = "/maharashtra/"; } if (item.row==17) { window.location = "/manipur/"; } if (item.row==18) { window.location = "/meghalaya/"; } if (item.row==19) { window.location = "/mizoram/"; } if (item.row==20) { window.location = "/nagaland/"; } if (item.row==21) { window.location = "/orissa/"; } if (item.row==22) { window.location = "/punjab/"; } if (item.row==23) { window.location = "/rajasthan/"; } if (item.row==24) { window.location = "/sikkim/"; } if (item.row==25) { window.location = "/tamil_nadu/"; } if (item.row==28) { window.location = "/uttar_pradesh/"; } if (item.row==29) { window.location = "/west_bengal/"; } if (item.row==36) { window.location = "/andaman_nicobar_islands/"; } } google.visualization.events.addlistener(chart, 'select', myclickhandler); chart.draw(data, options); } google.load('visualization', '1', {packages: ['geochart'], callback: drawmap}); </script> <div id="wrapper"> <!--[if lt ie 7]> <div class="alert-outer alert-error"> <a href="#" class="alert-closer" title="close alert" onclick="removeienotification(this); return false;">×</a> <div class="alert-inner"> <span><strong>you using outdated version of internet explorer.</strong> faster, safer browsing experience, upgrade today!</span> </div> </div> ![endif]--> <header> <h1 id="logo" class="sprite_index_in_in_en_logo spritetext">koolbusiness.com - right choice buying & selling in india</h1> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- v2 --> <ins class="adsbygoogle" style="display:inline-block;width:728px;height:15px" data-ad-client="ca-pub-7211665888260307" data-ad-slot="9119838994"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </header> <![endif]--> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- v2 --> <ins class="adsbygoogle" style="display:inline-block;width:728px;height:15px" data-ad-client="ca-pub-7211665888260307" data-ad-slot="9119838994"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> <div class="main"> <div class="column_left"> <div class="box"> <ul> <li>koolbusiness easy, free, , kool.</li> <li>buy , sell <a href="/india/cars-for_sale">cars</a>, check our <a href="/india/real_estate">real estate</a> section, find <a href="/india/jobs">jobs</a>, , more. </li> <li>check our <strong><a href="/india">{{count}} ads online</a></strong> , find looking in region or in india. </li> </ul> </div> <div id="regions"> <div class="region_links_one"> <ul class="regions_one"> <li><a id="region_8" class="region" href="http://www.koolbusiness.com/andhra_pradesh/">andhra pradesh</a></li> <li><a id="region_9" class="region" href="http://www.koolbusiness.com/arunachal_pradesh/">arunachal pradesh</a></li> <li><a id="region_10" class="region" href="http://www.koolbusiness.com/assam/">assam</a> </li> <li><a id="region_11" class="region" href="http://www.koolbusiness.com/bihar/">bihar</a> </li> <li><a id="region_12" class="region" href="http://www.koolbusiness.com/chhattisgarh/">chhattisgarh</a></li> <li><a id="region_13" class="region" href="http://www.koolbusiness.com/goa/">goa</a></li> <li><a id="region_14" class="region" href="http://www.koolbusiness.com/gujarat/">gujarat</a> </li> <li><a id="region_15" class="region" href="http://www.koolbusiness.com/haryana/">haryana</a> </li> <li><a id="region_16" class="region" href="http://www.koolbusiness.com/himachal_pradesh/">himachal pradesh</a></li> <li><a id="region_17" class="region" href="http://www.koolbusiness.com/jammu_kashmir/">jammu & kashmir</a></li> <li><a id="region_18" class="region" href="http://www.koolbusiness.com/jharkhand/">jharkhand</a> </li> <li><a id="region_19" class="region" href="http://www.koolbusiness.com/karnataka/">karnataka</a> </li> <li><a id="region_20" class="region" href="http://www.koolbusiness.com/kerala/">kerala</a> </li> <li><a id="region_21" class="region" href="http://www.koolbusiness.com/madhya_pradesh/">madhya pradesh</a></li> </ul> <ul class="regions_two"> <li><a id="region_22" class="region" href="http://www.koolbusiness.com/maharashtra/">maharashtra</a></li> <li><a id="region_23" class="region" href="http://www.koolbusiness.com/manipur/">manipur</a> </li> <li><a id="region_24" class="region" href="http://www.koolbusiness.com/meghalaya/">meghalaya</a> </li> <li><a id="region_25" class="region" href="http://www.koolbusiness.com/mizoram/">mizoram</a> </li> <li><a id="region_26" class="region" href="http://www.koolbusiness.com/nagaland/">nagaland</a> </li> <li><a id="region_27" class="region" href="http://www.koolbusiness.com/orissa/">orissa</a> </li> <li><a id="region_28" class="region" href="http://www.koolbusiness.com/punjab/">punjab</a> </li> <li><a id="region_29" class="region" href="http://www.koolbusiness.com/rajasthan/">rajasthan</a> </li> <li><a id="region_30" class="region" href="http://www.koolbusiness.com/sikkim/">sikkim</a> </li> <li><a id="region_31" class="region" href="http://www.koolbusiness.com/tamil_nadu/">tamil nadu</a></li> <li><a id="region_32" class="region" href="http://www.koolbusiness.com/tripura/">tripura</a> </li> <li><a id="region_34" class="region" href="http://www.koolbusiness.com/uttaranchal/">uttaranchal</a></li> <li><a id="region_33" class="region" href="http://www.koolbusiness.com/uttar_pradesh/">uttar pradesh</a></li> <li><a id="region_35" class="region" href="http://www.koolbusiness.com/west_bengal/">west bengal</a></li> </ul> </div> <div class="region_links_two"> <!-- ads here --> <h2>union territories</h2> <ul class="regions_one"> <li><a class="region" href="http://www.koolbusiness.com/delhi/">delhi</a></li> <li><a class="region" href="http://www.koolbusiness.com/lakshadweep/">lakshadweep</a></li> <li><a class="region" href="http://www.koolbusiness.com/daman_diu/">daman & diu</a> </li> <li><a class="region" href="http://www.koolbusiness.com/dadra_nagar_haveli/">dadra & nagar haveli</a> </li> </ul> <ul class="regions_two"> <li><a class="region" href="http://www.koolbusiness.com/chandigarh/">chandigarh</a></li> <li><a class="region" href="http://www.koolbusiness.com/pondicherry/">pondicherry</a></li> <li><a class="region" href="http://www.koolbusiness.com/andaman_nicobar_islands/">andaman & nicobar islands</a></li> </ul> </div> </div> </div> <div id="my_wrapper"> <div id="mapcontainer"> <div id='visualization'></div> </div> <div id="gads" style="clear:both"> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- frontpagebelowmap --> <ins class="adsbygoogle" style="display:inline-block;width:300px;height:250px" data-ad-client="ca-pub-7211665888260307" data-ad-slot="3839303791"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div> </div> <footer class="nohistory columns"> <p class="first">a deal around corner!</p> <p>koolbusiness right choice safe buying , selling in india: free classifieds website can buy , sell everything.</p> <p><a href="/ai">post ad free</a> or browse through our categories. find thousands of free classifieds cars, houses, mobile phones , gadgets, computers, pets , dozens of items , services in state or union territory.</p> <p> <strong>koolbusiness not charge fee , not require registration.</strong> every ad checked can give highest quality possible ads on our site. that’s why koolbusiness convenient, easiest use , complete free ads site in india.</p> <div id="world_sites"> </div> </footer> </div> </body> </html>
for this:
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- frontpagebelowmap --> <ins class="adsbygoogle" style="display:inline-block;width:300px;height:250px" data-ad-client="ca-pub-7211665888260307" data-ad-slot="3839303791"></ins> <script>
try adding margin: auto style , let me know how works:
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- frontpagebelowmap --> <ins class="adsbygoogle" style="display:inline-block;width:300px;height:250px; margin: auto" data-ad-client="ca-pub-7211665888260307" data-ad-slot="3839303791"></ins> <script>
Comments
Post a Comment