Hey guys, Im trying to help a friend configure his website. He wants the Adsense search function so visitors can search google and his website. I am trying to put in the code for him, I setup the search function all correctly to what colours etc he wants, I get the code and put it ino the website. but (theres always a but lol) it doesnt appear as it is previewed (nice and small) I select about 15 characters as it is to go in a small space, however once I get the code, and paste it in, the box is really really stretched length ways - which distors the whole website template. I was wondering if there was something simple that I am doing wrong? and if anyone else ran into this problem? He is using Joomla! - I'm sorry but hes asked me not to submit the website - but I hope I have provided enough information so you can know what I'm talking about. Replies appricaited. Many thanks!
No the site isn't live, and he is asking me not to post the URL. Sorry. I've described it as best as I could... its not a template error because If I place it anywhere on the site the same thing happens. He wants a small compact box (like the one sized when you are setting it up) but instead I get the box in the middle, with two huge white plain boxes either side of it, stretching the entire site. Help appricaited
I would still say that it is down to your template CSS. Put the search box code into a blank htm file and see if it looks ok..
You are correct! I put it into MS Front page, and the box appears small, how I made it on Google. Hmm... what could it be with the CSS that is making it do this? thanks for the replies!
The search goes there alright, its just two huge white blank spaces appear either side of the search box
Don't post the URL, a screenshot will do. We really cant help you without actually seeing what's happening.
Yes Give a screenshot .it will be better. But it must not create problem like this.Whenever you put ads or search box,it appears as we configure it...
Heres a screenshot of what happens.... Hope that helps. (I just made the code up quickly, hence why it says "your domain here" also that is the size I want the box, just without the two huge white blank spaces.) Thanks!
Wierd, never seen something like that! As someone above said, there might be a problem with you CSS OR are you pasting the code within some previous <form> codes?
Can you not say what template you are using.. I am almost certain that its a CSS problem. <form> or cellpadding!!
I would have to agree with uglyboy. Try replacing the google search box with just a plain text box, no form tag, just: <input type=text size=whateveryoursizeis> HTML: If that box has the same issue, its a css attribute to do with input fields. If you dont have the same issue, its something to do with your form or table tags. So next put some form tags around your test box, to like: <form> <input type=text size=whateveryoursizeis> </form> HTML: If it has the same issue, its css attributes to do with your form tags. If the issue doesnt occur, its an issue with your table, tr, or td tags. Either way, that will narrow it down for you.
thanks for the replies. I tried what you said and it worked fine. What does this mean? I dont have the issue anymore... but I'd like to know what you mean. thanks