| Author |
Message
|
| rblue |
Posted: Sun Oct 21, 2007 5:35 pm Post subject: center align google search bar in header |
|
|
 New Member

Joined: Oct 21, 2007 Posts: 2
|
hi all,
just joined and already have a question, how do i align the goggle search bar so that it is centered under the header title. i generated the script in adsense and placed it in a page element. it does work ok but Id like it centered. if this question has been answered on this forum in the past i apologize just point me towards it.
there is nothing posted as this is a 'testing blog' for me,,
thanks,,
richard
http://testflight.blogspot.com/  |
|
| Back to top |
|
 |
Sponsored Ads
|
 |
| Shawn |
Posted: Tue Oct 23, 2007 9:38 pm Post subject: |
|
|
 Site Developer

Joined: Sep 06, 2006 Posts: 324 Location: Canada
|
Hello Richard
Welcome to BloggerTalk.net
I just checked out your blog and see the Google search bar is already centered?
I assume you figured this out on your own, but incase others want to know how to center something I still post the solution.
To center align an object you can use div tags to surround the code or object you wish to center.
Example
| Code: | <div style="text-align:center;">
Your Code
</div> |
Or
| Code: | <div style="float:center;">
Your code
</div> |
I hope someone finds this helpful~
Shawn DesRochers  _________________ | Affordable Web-Hosting | FREE Blog Directory |
PC Windows Tips |
Ultra Game Play |
|
| Back to top |
|
 |
| rblue |
Posted: Fri Oct 26, 2007 7:20 pm Post subject: |
|
|
 New Member

Joined: Oct 21, 2007 Posts: 2
|
thanks shawn,,appreciate your response !!  |
|
| Back to top |
|
 |
|
|