HTML - Google Adsense Beginner Question
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 Similar TutorialsHow 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 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 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? Greetings and good cheer... I have what I imagine to be an extremely basic question. My href codes doesn't work in firefox. They work fine in IE. Sample code: <a target="_blank" href="http://www.skateboardingbulldog.com/tyson_skating.WMV" ><font color="red" face="Trebuchet MS" size="2">5.20.04 Tyson</i> </font></a><br /> Is the problem in the "_blank" ? The "<br />" Is it somewhere else? All assistance greatly appreciated, and duly thanked in advance! ~p.l. Hey everyone, I just started learning HTML and I am working my way through "Head First HTML With CSS & XHTML". My question is why does the text in the <p> tags show up as it would in <h1> except for under "Mocha Cafe Latte"? Code: <html> <head> <title> Starbuzz Coffee Beverages</title> <style type="text/css"> body { background-color: #d2b48c; margin-left: 20%; margin-right: 20%; border: 1px dotted gray; padding: 10px 10px 10px 10px; font-family: sans-serif; } </style> </head> <center><body> <h1> Starbuzz Coffee </h1> <h2>House Blend - $1.49<h2> <p>A smooth, mild brend of coffees from Mexico, Bolivia and Guatemala. </p> <h2>Mocha Cafe Latte - $2.35 </h2> <p> Espresso, steaming milk and chocolate syrup. </p> <h2>Cappucino - $1.89 <h2> <p> A mixture of espresso, steamed milk and foam. </p> <h2>Chai Tea - $1.85 <h2> <p> A spicy drink made with black tea, spices, milk and honey. </p> </body></center> </html> Thanks in advance. Hi... I am using an application that delivers data in the form of HTML tags (example: ^vst843^). I use these tags in an HTX file which writes to an HTML web page. I'd like to use Ajax to update the tag values without refreshing the page, but from what I understand I must write in Javascript to use Ajax. Am I right about this? If so how can I use the HTML tags coming from my application in this way? Thanks. How can I reuse templates to build my web site instead of copy paste the top in each single page ? Is it possible only using an authoring software such as dreamweaver ? thanks Any way to make the potential links at the top and bottom of this page look a bit smoother, or fitting. Any help or suggestions in greatly appriciated. Code: <html> <style type="text/css"> ul { text-align:center; float:left; width:100%; padding:0; margin:0; list-style-type:none; } a { width:6em; text-decoration:underline; color:yellow; background-color:blue; padding:0.05em 0.3em; border-right:1px solid white; } li{display:inline} </style> <body bgcolor ="bisque"> <hr style = "color: green; height:3;width 50%"/> <ul> <li> <a href = "Menu.html" target="_top" style = "font-size:large;">Menu</a></li>     <li> <a href = "cater.html" target="_top" style = "color:blue;font-size:large;">Catering</a></li>     <li> <a href = "comment.html" target="_top" style = "color:blue; font-size:large;"> Comments/Suggestions</a></li>     <li> <a href = "http://www.mapquest.com" target="_blank" style = "color:blue;font-size:large;">Directions</a></li>     </ul> <hr style = "color:green; height:3;width 50%"/> <center><img src="logo.jpg" alt="image description" height="400" width="550"></center> <hr style = "color:green;height:3;width 50%"/> <a href = "Menu.html" target="_top" style = "color:blue;font-size:large;">Menu</a>     <a href = "cater.html" target="_top" style = "color:blue;font-size:large;">Catering</a>     <a href = "comment.html" target="_top" style = "color:blue; font-size:large;"> Comments/Suggestions</a>     <a href = "http://www.mapquest.com" target="_blank" style = "color:blue;font-size:large;">Directions</a>     <hr style = "color:green; height:3;width 50%"/> </body> </html> Hello everyone, I am newbie here. Can someone please tell me what is the HTML code for changing a color when my pointer point to the specific area? For example, when I point my pointer to the "Go back back one page" of Mozilla Firefox web browser, the color is changing from dark green into bright green. Thank you very much in advance Ahyoo My Html code is as follows: HTML Code: <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>Services - Wellington Florida Lawn Salon and Service</title> </head> <body> <h1>Wellington Lawn Salon</h1> <header> <nav role="navigation"> <ul> <li><a href="filename">Services</a></li> <li><a href="filename">Pictures</a></li> <li><a href="filename">Contact Us</a></li> <li><a href="filename">History</a></li> <li><a href="filename">Testimonials</a></li> </ul> </nav> </header> <article> <h1>Services available:</h1> <section> <h2>General and special lawn maintenance</h2> </section> <section> <h2>Landscaping</h2> </section> <section> <h2>Sod installation</h2> </section> <section> <h2>Irrigation</h2> <section> <h3>Installation</h3> </section> <section> <h3>Repair</h3> </section> </section> <section> <h2>Tree Trimming</h2> </section> </article> </body> </html> When I run the code through the HTML5 Oulliner I receive this: 1.)Wellington Lawn Salon 1.)Untitled Section 2.)Services available: 1.)General and special lawn maintenance 2.)Landscaping 3.)Sod installation 4.)Irrigation 1.)Installation 2.)Repair 5.)Tree Trimming My question is about the "untitled section". What part of the code is "untitled"? Why? How does it relate to your SEO? Also any other semantic markup tips, in general or specifically in regards to this example, are greatly appreciated. hello, i have this image Code: <img alt="Artist NAme" src="ArtistName.png" /> and I would like to know if google index both the alt and src field or only one of them, or which is the most important ? I would like google retrieve the image if the artist name is typed. thanks 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? Now 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. 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 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> 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. 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. |