HTML - Adsense Doing Something Strange!
Hi,
I'm trying to make some changes to the basic design of my site, but when I add Adsense it's doing something strange. In IE7 it's fine, but in FF it displays with incorrect colors and the size is chopped from 468x60 to about 230x60. I can't explain it, because on the other pages I've made the changes everything is fine. ***************************************** Problem seems corrected now. Have no idea how it persisted for 36hrs, but it's fine now (shaking head). ***************************************** Thanks, Dave H Similar TutorialsNow that Im signed up with adsense I find out you cant place them in frames. This is how I was going to do it, but obviously I cant. Im doing this in php, and my html is very beginner could someone point me towards what I need to check into to put the adsense to the side of the frame, without putting it in the frame? Thanks. Hey, how do I get this (self placed) ad out of the way so it will not affect the layout of the text? It is placed in a div. Maybe I could play with the .css file a little bit? You can see the ad he http://arturbuchhorn.com/works/morality.html When I tried to add a skyscraper ad to my website using a site editor it didnt show up right. The ad just appeared in the middle of my page. I tried to do it manually, but google says the ad has to be placed in the body to show up right. When I opened index.htm there was no body. Instead there were a bunch of tables each with there own body. I am using Host Gator and SWSoft Site Builder. I am rather new at html and site development so any help would be appreciated. Also is there any way I can add the code to all of my pages? Hello, I am needing to insert an adsense code in the side bar of my homepage... Alittle confused on where to put the code, I would appreciate in assistance... Here is the code where I want to put the adsense code Code: <div class="featured_categories_bar round5px"> {BROWSE_MAIN_CATEGORIES} </div> <div class="index_main_box"> <div class="sidebar round5px masoned"> <h3>{LANG[html][INDEX][14]}</h3> <div class='reset_index_location'>{RESET_LOCATION_MESSAGE}</div> {INDEX_LOCATIONS} </div> <div class="homepage_right"> <!--Start cat--> {FEATURED_ADS} <!--End cat--> <!--Start all cat--> <div class="list-area"> {BROWSE_CATEGORIES} </div> <!--End all cat--> <script type="text/javascript"> var moreLinkName = "{LANG[php][INDEX][2]}"; $(document).ready(function(){ $(".sidebar").masonry({columnWidth: 105, maxCount: 10, maxCountShift: 1 }); $(".list-area").masonry({columnWidth: 250, singleMode: true, animate: true }); $(".list-area dl").hover(function(){ $(this).addClass("box-shadow"); }, function(){ $(this).removeClass("box-shadow")}); $(".listing").hover(function(){ $(this).addClass("box-shadow"); }, function(){ $(this).removeClass("box-shadow")}); $(".next").click(function(){ $('.ad-thumbs').scrollTo( '+=200', 200, {axis: 'x'}, { queue:true } ); return false; }); $(".prev").click(function(){ $('.ad-thumbs').scrollTo( '-=200', 200, {axis: 'x'}, { queue:true } ); return false; }); }); </script> </div> <div class="clear_both_fix"> </div> </div> <style type="text/css"> {LOCATIONS_CSS} </style> The side bar starts where I've got the code in red... Again, I want the google ad the be placed below the side bar... If you need a better look at what I am wanting, it's the "Where are you looking?" on the homepage of buyorpost.com. Thanks in advance! Robert D. I wanted to update an old website and thought to put AdSense on it but can not get it to work. The site is called dvdalien.com and I have tried to place the code on the left sidebar at the bottom. But as you can see its going to the top of my sidebar sections. I have tried adding the code to the end of series.asp which is the location now and its at the top. I have tried to add it to default.asp under: <!-- #include virtual="shared/series.asp" --> AdSense </table> But that only showed it on the home page and still at the same location. Anyone know what I can do to put in under the section series, all pages, and maybe 75% more to the right. Thanks for any help. Hi, ummm, I have this site, and I want to put adsense ads right under the part where it says bite me, but I don't know how to. I also want to be able to put things in the affiliates section at the bottom of the page. Can somebody please help me? HTML Code: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Content-Style-Type" content="text/css"> <title>Bite Me - The online shonen-ai romance fantasy manga novel/book - gay vampires, anime and so much more.</title> <style type="text/css"> body { background-color:#000; } #container { width:720px; height:450px; padding:178px 34px 200px 44px; background-image:url(http://img24.imageshack.us/img24/7995/layoutredglow.jpg); background-repeat:no-repeat; margin:auto; font-family:verdana,arial,helvetica,sans-serif; color:black; z-index: 1 } #content { height:279px; padding:20px; overflow:auto; z-index: 3 } #content p { text-indent:20px; padding-bottom:20px; margin:0; } #content p:first-letter { font-family:'times new roman',serif; font-size:200%; font-weight:bold; color:#f00; } #nav { margin:0 0 26px; padding:0px; list-style-type:none; text-align:center; } #nav li { display:inline; } #nav a { padding:5px; border:0px solid #ccc; font-family:'times new roman',serif; font-size:24px; color:#f00; text-decoration:none; } </style> </head> <body> <div id="container"> <ul id="nav"> <li><a href="http://bitememanga.com/">Home</a></li> <li><a href="http://bitememanga.com/book.html">Book</a></li> <li><a href="http://bitememanga.com/characters.html">Characters</a></li> <li><a href="http://bitememanga.com/about.html">About Us</a></li> <li><a href="http://bitememanga.com/comments.html">Comments</a></li> <li><a href="http://bitememanga.com/forum.html">Forum</a></li> </ul> <div id="content"> <a id="nabblelink" href="http://n2.nabble.com/Bite-Me-f2848014.html">Bite Me</a> <script src="http://n2.nabble.com/embed/f2848014"></script> </p></div><!-- end #content --> </div><!-- end #container --> <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <!-- Start of StatCounter Code --> <script type="text/javascript"> var sc_project=4667761; var sc_invisible=1; var sc_partition=46; var sc_click_stat=1; var sc_security="e894ee49"; </script> <script type="text/javascript" src="http://www.statcounter.com/counter/counter.js"></script><noscript><div class="statcounter"><a title="wordpress visitors" href="http://www.statcounter.com/wordpress.org/" target="_blank"><img class="statcounter" src="http://c.statcounter.com/4667761/0/e894ee49/1/" alt="wordpress visitors" ></a></div></noscript> <!-- End of StatCounter Code --> </body> </html> How do you insert Google adsense code into a table, because when i make a website using Photoshop it makes a bunch of tables. Is it possible to put adsense into a table? Thanks Hi! I'm having trouble centering my Google adsense banner. I paste the code from Google, it shows up but it wont center. I look online and cant seem to find anything that works. Any ideas? i have a website, http://www.what-the-news.com, and i am trying to get my medium rectangle ad to show up just to the right of my videos. Everytime i put in the align right code it drops down below the video like the leaderboard banner, which is currently there. Here are the codes i'm using: <p><div align="right"><script type="text/javascript"><!-- google_ad_client = "pub-8909561621860243"; google_ad_width = 200; google_ad_height = 200; google_ad_format = "200x200_as"; google_ad_type = "image"; google_ad_channel = ""; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script></div> Any help will be huge, Mark The template designer of the template i used embedded his adsense in my blog. I found the part which is related to adsense but dont know how much to delete. Please help me remove that adsense. I dont know HTML. that is why.. I have a quirky problem, and it exists with many of my sites. It involves Firefox browser, as well as Chrome. Here are the conditions of the website pages that have problems: 1. Page is fixed width, centered in the browser 2. Google AdSense is present on the page 3. Browser is either Firefox or Chrome. Internet Explorer doesn't present any problems. When the page with the above conditions is loaded, the page shows up at the RIGHT of the browser, then shifts to it's proper location in the center of the browser. This occurs every time a page with adsense is loaded, and can be irritating going page to page. An example for my site is he AdSense Page Shift Test Please use Firefox browser, maximized on a monitor with a greater width than 1024. There are five working tabs with examples, four of them have adsense on them. The one without adsense does NOT jump, and I'd like all the pages to emulate it. I"d appreciate any direction to solving the problem. Firefox and Chrome are rapidly increasing in popularity, and I'd like to solve this rather quirky problem. I have a blogger blog he http://entpalace.blogspot.com As you can see there is a link ad unit right at the bottom of the screen. I want to put that ad link unit underneath the NEWEST post. it has to only go under the newest post automatically. So can you view my website(above) and view the source code,and tell me what adsense code and where i need to put the adsense code. For example,tell me the adsense code,then do i put like this: <meta content='true' name='MSSmartTagsPreventParsing'/> "ADSENSE CODE THAT WILL MAKE THE LINK AD UNITS GO UNDER EACH NEW POST HERE" <meta content='blogger' name='generator'/> I have very limited html experience so i need u to tell me exactly how to do it with my site. THanks The first part , this page i need to put an widesky ad on both sides of the image & also want something that will rescale image to fit page as i need to fit in large images on the page , can this be done people? Well, it seemes like it all messes up right now... And I'm going crazy. Take a look at this example page: http://www.stianbl.co.cc/Test2/teknisk_TEST1.html Here, everything should work, since the code is the same I used for this page: http://www.stianbl.co.cc/Test2/teamet.html The problem is: 1. I cant get the hover effect to work on the 3 "pages", or fact-sheets, that should be clickable to dll the .doc file. But its the same way I did on the site "teamet", and it works there. 2.I cant position the header anymore. As it is now, opera reads it as I want it (the header, and navigation part), but IE hides it... Any help would be much appreaciated! I'm having a really bizarre problem on my site here http://www.onlykitchens-almunecar.co...signvisit.html On this particular page I have a form that is working fine in firefox but the page won't load in IE only from today and I don't think I have changed anything The form is working fine in firefox and posting ok and returning errors as i am using this form validation script Code: <script language="JavaScript" type="text/javascript"> <!-- /*********************************************** * Required field(s) validation v1.10- By NavSurf * Visit Nav Surf at http://navsurf.com * Visit http://www.dynamicdrive.com/ for full source code ***********************************************/ function formCheck(formobj){ // Enter name of mandatory fields var fieldRequired = Array("Name", "Surname", "Address", "Town", "Province", "Post Code", "Telephone", "Email", "Selection", "Details"); // Enter field description to appear in the dialog box var fieldDescription = Array("Name", "Surname", "Address", "Town", "Province", "Post Code", "Telephone", "Email", "Selection", "Details"); // dialog message var alertMsg = "Please complete the following fields:\n"; var l_Msg = alertMsg.length; for (var i = 0; i < fieldRequired.length; i++){ var obj = formobj.elements[fieldRequired[i]]; if (obj){ switch(obj.type){ case "select-one": if (obj.selectedIndex == -1 || obj.options[obj.selectedIndex].text == ""){ alertMsg += " - " + fieldDescription[i] + "\n"; } break; case "select-multiple": if (obj.selectedIndex == -1){ alertMsg += " - " + fieldDescription[i] + "\n"; } break; case "text": case "textarea": if (obj.value == "" || obj.value == null){ alertMsg += " - " + fieldDescription[i] + "\n"; } break; default: } if (obj.type == undefined){ var blnchecked = false; for (var j = 0; j < obj.length; j++){ if (obj[j].checked){ blnchecked = true; } } if (!blnchecked){ alertMsg += " - " + fieldDescription[i] + "\n"; } } } } if (alertMsg.length == l_Msg){ return true; }else{ alert(alertMsg); return false; } } // --> </script> The weird thing is if i take this code out it loads in IE and when I put it back in it don't. Its been working fine in IE with it in up until today. I need this validation script, and as i said its been working in IE for weeks with it in in. So I suppose what I am trying to get to the bottom of is why it is working in firefox but not in IE? If anyone could help i'd greatly appreciate it! Now this is a strange one. If you visit my site via http://amatoc.com and then you visit it with http://www.amatoc.com You will notice that the site with www added is smaller than the one without! (Occurs using firefox) Anyone have an explanation for this? hi, I have a css popup window (a lightbox) for videos, opened by javascript. If I want to close it, I've to select the white overlay on the background. On Windows, everything works very well in Firefox, IE and Safari. On Mac, I can't use the flash player controls because when I click on it, the video is closed (I guess because the overlay is selected even if it is behind the video). Isn't strange ? thanks I designed a site using HTML and CSS. The site works fine on all browsers except on the client's pc. He has IE 7. When I try it on my computer using the same browser IE7 it works fine. I told him to try the site on FFox and it worked ok. He wants the site to run on his pc using IE. I tried asking him to clear all cookies... doenst work. Any ideas want can be the problem? THANKS! I have two sections of my school website, one for study, one for plans. I have indexes for each, and links in the indexes that go to "journals." Sadly, for some reason, the plans one is working find, when I click on a link in the index it stays in the same category and then goes down, but the study one goes to my homepage. I'll try doing a diagram to help you guys out The arrows represent a link I can click on: (I took out the http b/c this site made the links shorter with ... and you wouldn't be able to see what I'm about to point out) Plans Section http://linus.yhspatriot.net/cs/at/st...Cai/2006/Plans --> http://linus.yhspatriot.net/cs/at/st...lan.html#Intro Study Section (Doesn't work) http://linus.yhspatriot.net/cs/at/st...Cai/2006/Study --> http://linus.yhspatriot.net/cs/at/st...-11.html#12-11 Notice the problem is that in the first one, it stays in plans, but in the second one, it actually leaves Study, and goes to Folsom_Cai. Here's the code for the plans index: HTML Code: <ol> <li> 1st Quarter Plan (finished)</li> <ul> <li><a href="1stQuarterPlan.html#Intro">Introduction</a></li> </ul> </ol> Here's the code for the Study index: HTML Code: <li>Week of 12-11 <ul> <li><a href="12-11.html#12-11">Thinking about the Classroom Code</a></li> </ul> </li> Here's where I define the name <a name=""> so it will go to a certain part of the page Plans: HTML Code: <p><a name="Intro"></a></p> Study: HTML Code: <h3><a name="12-11"><span>12-11</span></a></h3> thanx for any help, feel free to ask a question - i'll respond in this forum |