For themeing purposses i would prefer a button instead of a input submit. For the CSE Search, Or maybe at least a class or id to the submit button.

I dont want to alter the module code. So would there be a way to alter the output without touching the adsense.module?

Thanks

Comments

jcnventura’s picture

Status: Active » Closed (works as designed)

Sorry, but you can't alter the HTML code provided by Google. The module goes into great lengths to ensure that it's output is 100% similar to the code generated by Google. That code specifies a submit input, and doesn't include any class or id..

However, note that the adsense module inserts classes around the HTML code it generates.

João

Michsk’s picture

>> However, note that the adsense module inserts classes around the HTML code it generates.

I understand that it does, but how will this help my "problem". When i theme the input in the adsense module class then it will effect the input text and the input submit... Offcourse i can use input[type="submit"] but that is not compatible with all browsers.

Any other ideas?

jcnventura’s picture

No, no other ideas.. You can always modify the code yourself, but you'll have to keep doing it every time you upgrade.