How to make a google search box center to the page?

  • 1
  • Question
  • Updated 9 years ago
  • Answered
Hi.

How do i make this HTML code center my google search box

@import url(http://www.google.com/cse/api/brandin...;











Tunnel Search

Photo of Shaq

Shaq

  • 868 Posts
  • 5 Reply Likes

Posted 9 years ago

  • 1
Photo of Shaq

Shaq

  • 868 Posts
  • 5 Reply Likes
Please go here to view code;
http://www.tunnel-search.synthasite.c...

thanks
Photo of Ruth

Ruth

  • 2819 Posts
  • 135 Reply Likes
You can use the properties side bar to left, centre or right align your widgets. Add numbers into the boxes to move the widgets to the left or right, or up or down. It make take some experimenting to get the result you are after.
Photo of Ruth

Ruth

  • 2819 Posts
  • 135 Reply Likes
Sorry, I missed that you were trying to centre an HTML widget.
Photo of UK Duke

UK Duke, Champion

  • 3321 Posts
  • 213 Reply Likes
Is this resolved? If its not....
Try puuting the google code in a text widget.
Add the text widget, press the html button and then add your google code. Beofre the google code add ,
and at the end add

You may find it moves the widgets page position - you can move it back.

If this does not work for you try to add a left border to the properties of the text widget till it reaches the middle of the page.

good luck - Lee.
Photo of Marije

Marije, Official Rep

  • 4636 Posts
  • 237 Reply Likes
Thanks lee!

Shaq - let us know if that doesn't work for you.
Photo of Shaq

Shaq

  • 868 Posts
  • 5 Reply Likes
lol, sorry i have already fixed it. I used the Google adsense editor instead, As it automatically centers. Lee i tried your it works, i am putting that in my notes

thanks gbu
shaq