homepage Welcome to WebmasterWorld Guest from 54.161.214.221
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Google / Google AdSense
Forum Library, Charter, Moderators: incrediBILL & jatar k & martinibuster

Google AdSense Forum

    
Slightly altering AdSense for Search HTML code
for my website I need it to be more vertical than horizontal
JayKneel




msg:1447222
 5:02 am on Feb 27, 2006 (gmt 0)

I've made a nice montly check from Google Adsense for over two years and I would like to put AdSense for Search on my site. Problem is, it needs to go into a column that is only about 120 px wide.

Has anyone had any experience with altering the HTML code to make the AdSense for Search box more vertical than horizontal?

I am considering adding to the AdSense for Search HTML table to put the radio buttons ("Web" and "My domain") each on their own row instead of both on the same row.

Also, I am considering changing the font size from "-1" to "-2".

Has anyone done this or something similar? Is Google okay with this? I don't want to risk what I am making with AdSense text ads. Anyone have any suggestions?

Thanks mucho!

 

incrediBILL




msg:1447223
 5:38 am on Feb 27, 2006 (gmt 0)

I recommend you re-read the terms and conditions of AdSense that prohibit altering the HTML whatsoever.

DelliTranswait




msg:1447224
 3:19 pm on Feb 27, 2006 (gmt 0)


I have seen sites that alter the appearance of the Googe search box via CSS: putting the HTML code that Google supplies into a <div class="whatever"> and then applying formatting to the (Google) form within that div.

That's not altering Google's code, per se.

I too would like to see a Google Search box that is vertical instead of horizontal. That would better fit my website's layout.

novice




msg:1447225
 4:46 pm on Feb 27, 2006 (gmt 0)

When building the code for the search box Google allows you to specify whether you want it to appear horizontal or vertical.

If you want it to be vertical and narrow just make the text box smaller, then choose the options to place the Google logo above the text box and the search button below the text box.

This works best when the only search option is Google search. If you include site search, and have a long domain name, it may not fit into the 120 px area.

DelliTranswait




msg:1447226
 5:05 pm on Feb 27, 2006 (gmt 0)

This works best when the only search option is Google search. If you include site search, and have a long domain name, it may not fit into the 120 px area.

That's the problem I have: my domain name is too long.

Really how can Google object to altering the code to specify a search of www.mydomainname.com but display only "mydomainname" next to the radio button.

Knappster




msg:1447227
 5:20 pm on Feb 27, 2006 (gmt 0)

how can Google object to altering the code...?

By banning you?

agent99




msg:1447228
 5:44 pm on Feb 27, 2006 (gmt 0)

I had the same issue with a Google site search box where the margin where I needed to put it was just too narrow and my domain name too long. I emailed Google and explained my issue, sent them a mockup of a search box that I wanted to use where I had changed the code, where the box was smaller, and where I changed the text for the site/google search to be one on top of another instead of side by side as well as the size of the text. They approved it. I got the feeling though that it's case by case, and that you shouldn't just make the adjustments without that written Google OK. So you would be well advised to drop them a line, show them what you want to to, and let them approve it.

I was pleasantly surprised that Google was so reasonable. :)

RammsteinNicCage




msg:1447229
 10:22 pm on Feb 27, 2006 (gmt 0)

I was told by Google that I could alter the html markup to make the search box xhtml 1.0 strict compliant. I should have asked (and will now) about putting my long domain name on it's own row because it looks silly having the column it's in so wide.

Jennifer

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Google / Google AdSense
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved