Forum Moderators: martinibuster

Message Too Old, No Replies

Formating Adsense for Search with CSS

         

linuxguy

11:01 pm on Jul 17, 2006 (gmt 0)

10+ Year Member



Is it Ok to format Adsense for Search with CSS? The default button design and box is just horrible.

barns101

11:48 pm on Jul 17, 2006 (gmt 0)

10+ Year Member



If you alter the code generated by Google you're breaking the TOS. But I guess that if you used a stylesheet to add style to the button without altering their code, you should be OK. However, only Google can give you a definitive answer! :)

linuxguy

9:18 pm on Jul 19, 2006 (gmt 0)

10+ Year Member



Great thank's, I'llcontact Goolle but I'm guessing It should be Ok.

Vastio

1:46 am on Jul 20, 2006 (gmt 0)

10+ Year Member



I did the same thing (alter the look of the search field, button), except by accident. You're right, it does look much better, though. I'm not sure about how google thinks about it.

Let me know how it turns out.

Hubbard

2:42 pm on Jul 20, 2006 (gmt 0)

10+ Year Member



We're not allowed to inject any code within anything Google gives us. Surrounding the code they give us only. If you have a Mac and Safari changing this line:

<input type="text" name="q" size="20" maxlength="255" value=""></input>

to this....

<input type="search" name="q" size="20" maxlength="255" value=""></input>

.....gives the Search field curved corners and a cancel button (just like OS X search field). Google disallows this modification too. No styling allowed at all until Google supplies it.

[edited by: Hubbard at 2:47 pm (utc) on July 20, 2006]