I put the google code next to the google search code so the ad can show up to the right of the google search box. But instead the ad shows up below google search box. How can i get this ad to the right of the google search box instead of below it?? 1 of the ads probaly are not showing because but you can tell the screen is stretched because there is a ad there i want that ad next to the google search box sggdc.com/forums
It's because you're using the <center> tag just before the code of the search box. That automatically puts it on the next line down.
Im not using any center tags i tried putting a tag in there before but it did nothing, Here is what the code looks like with the google ads in there too but edited so no one can steal them <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=<% CHARSET %>" /> <link rel="shortcut icon" href="favicon.ico" /> <title><% TITLE %></title> <% GENERATOR %> <% CSS %> <% JAVASCRIPT %> <script src="jscripts/brp_main.js"></script> </head> <body> <div id="ipbwrapper"> <% BOARD HEADER %> <script type="text/javascript"><!-- google_ad_client = "pub-5073813701911468"; google_alternate_color = "FFFFFF"; google_ad_width = 300; google_ad_height = 250; google_ad_format = "300x250_as"; google_ad_type = "image"; //2007-02-16: Top banner test google_ad_channel = "9517255939"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> <!-- Search Google --> <center> <form method="get" action="http://www.google.com/custom" target="_top"> <table bgcolor="#ffffff"> <tr><td nowrap="nowrap" valign="top" align="left" height="32"> <a href="http://www.google.com/"> <img src="http://www.google.com alt="Google" align="middle"></img></a> <label for="sbi" style="display: none">Enter your search <input type="text" name="q" size="31" maxlength="255" value="" id="sbi"></input> </td></tr> <tr><td valign="top" align="left"> <label for="sbb" style="display: none">Submit search form</label> <input type="submit" name="sa" value="Search" id="sbb"></input> <input type="hidden" name="client" value="pub-5073813701911468"></input> <input type="hidden" name="forid" value="1"></input> <input type=" <input type="hidden" name="oe" value="ISO-8859-1"></input> <input type="hidden" name="cof" value="GALT:#0066CC;GL:1;DIV:#000000;VLC:3D81EE;AH:center;BGC:FFFFFF;LBGC:000000;ALC:000000;LC:000000;T:000000;GFNT:0000FF;GIMP:0000FF;LH:50;LW:198;L:http://img.photobucket.com/albums/v454/dartangionw/mq.gif;S:http://;FORID:1"></input> <input type="hidden" name="hl" value="en"></input> </td></tr></table> </form> </center> <!-- Search Google --><script type="text/javascript"><!-- google_ad_client = "pub-5073813701911468"; google_alternate_color = "FFFFFF"; google_ad_width = 300; google_ad_height = 250; google_ad_format = "300x250_as"; google_ad_ //2007-02-16: Top banner test google_ad_channel = "9939"; //--></script> <script type="text/javascript" src="http://pagead2._ads.js"> </script> <% MEMBER BAR %> <!--IBF.RADIOBAR--> <% NAVIGATION %> <!--IBF.NEWPMBOX--> <% BOARD %> <% BOARD FOOTER %> <script type="text/javascript"><!-- google_ad_client = "pub-5073813701911468"; google_ad_width = 728; google_ad_height = google_ad_type = "text_image"; google_ad_ google_color_bg = "FFFFFF"; google_color_link = "000000"; google_color_ google_color_url = "0C"; //--></script> <script type="text/javascript" src="http://pagead2./show_ads.js"> </script> <script language="JavaScript" "> <!-- ctxt_ad_partner = "4008470000"; ctxt_ad_section = ""; ctxt_ad_bg = ""; ctxt_ad_width = 728; ctxt_ad_height = 90; ctxt_ad_bc = ctxt_ad_cc = " ctxt_ad_lc = "FFFFFF"; ctxt_ad_tc = "FFFFFF"; ctxt_ad_uc = "330033"; // --> </script> <script language="JavaScript" src="http://ypn-js.overture.com/partner/js/ypn.js"> </script> <% STATS %> <% COPYRIGHT %> <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> <script type="text/javascript"> _uacct = "UA-1322697-1"; urchinTracker(); </script> </div> </body> </html> Code (markup):
erm.. yes you are... </script> <!-- Search Google --> <center> <form method="get" action="http://www.google.com/custom" target="_top"> HTML: I make that a center tag. ** ALSO: Use the HTML: tags to keep your code looking clean. ** <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=<% CHARSET %>" /> <link rel="shortcut icon" href="favicon.ico" /> <title><% TITLE %></title> <% GENERATOR %> <% CSS %> <% JAVASCRIPT %> <script src="jscripts/brp_main.js"></script> </head> <body> <div id="ipbwrapper"> <% BOARD HEADER %> <script type="text/javascript"><!-- google_ad_client = "pub-5073813701911468"; google_alternate_color = "FFFFFF"; google_ad_width = 300; google_ad_height = 250; google_ad_format = "300x250_as"; google_ad_type = "image"; //2007-02-16: Top banner test google_ad_channel = "9517255939"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> <!-- Search Google --> <center> <form method="get" action="http://www.google.com/custom" target="_top"> <table bgcolor="#ffffff"> <tr><td nowrap="nowrap" valign="top" align="left" height="32"> <a href="http://www.google.com/"> <img src="http://www.google.com alt="Google" align="middle"></img></a> <label for="sbi" style="display: none">Enter your search <input type="text" name="q" size="31" maxlength="255" value="" id="sbi"></input> </td></tr> <tr><td valign="top" align="left"> <label for="sbb" style="display: none">Submit search form</label> <input type="submit" name="sa" value="Search" id="sbb"></input> <input type="hidden" name="client" value="pub-5073813701911468"></input> <input type="hidden" name="forid" value="1"></input> <input type=" <input type="hidden" name="oe" value="ISO-8859-1"></input> <input type="hidden" name="cof" value="GALT:#0066CC;GL:1;DIV:#000000;VLC:3D81EE;AH:center;BGC:FFFFFF;LBGC:000000;ALC:000000;LC:000000;T:000000;GFNT:0000FF;GIMP:0000FF;LH:50;LW:198;L:http://img.photobucket.com/albums/v454/dartangionw/mq.gif;S:http://;FORID:1"></input> <input type="hidden" name="hl" value="en"></input> </td></tr></table> </form> </center> <!-- Search Google --><script type="text/javascript"><!-- google_ad_client = "pub-5073813701911468"; google_alternate_color = "FFFFFF"; google_ad_width = 300; google_ad_height = 250; google_ad_format = "300x250_as"; google_ad_ //2007-02-16: Top banner test google_ad_channel = "9939"; //--></script> <script type="text/javascript" src="http://pagead2._ads.js"> </script> <% MEMBER BAR %> <!--IBF.RADIOBAR--> <% NAVIGATION %> <!--IBF.NEWPMBOX--> <% BOARD %> <% BOARD FOOTER %> <script type="text/javascript"><!-- google_ad_client = "pub-5073813701911468"; google_ad_width = 728; google_ad_height = google_ad_type = "text_image"; google_ad_ google_color_bg = "FFFFFF"; google_color_link = "000000"; google_color_ google_color_url = "0C"; //--></script> <script type="text/javascript" src="http://pagead2./show_ads.js"> </script> <script language="JavaScript" "> <!-- ctxt_ad_partner = "4008470000"; ctxt_ad_section = ""; ctxt_ad_bg = ""; ctxt_ad_width = 728; ctxt_ad_height = 90; ctxt_ad_bc = ctxt_ad_cc = " ctxt_ad_lc = "FFFFFF"; ctxt_ad_tc = "FFFFFF"; ctxt_ad_uc = "330033"; // --> </script> <script language="JavaScript" src="http://ypn-js.overture.com/partner/js/ypn.js"> </script> <% STATS %> <% COPYRIGHT %> <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> <script type="text/javascript"> _uacct = "UA-1322697-1"; urchinTracker(); </script> </div> </body> </html> HTML:
ok thanks, am i allowed to edit the google code, i didnt know google put center in there ads what should i change it too?
ok i placed one adsense code inside the other adsense code and i got two of them to line up correctly thanks for the help with that Now how can i get the google search AD in between those two ads sggdc.com/forums
To get it in between each other just place the code in the middle of the other two pieces of code. Simple.