Title: CSS formatting Issue
Last modified: August 18, 2016

---

# CSS formatting Issue

 *  Resolved [gchandler](https://wordpress.org/support/users/gchandler/)
 * (@gchandler)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/css-formatting-issue/)
 * I am unable to get the google search box at the bottom of my page [http://www.hotrodhomepage.com](http://www.hotrodhomepage.com)
   to center. The box is located in the footer of my template.
 * This is the css that I am using:
 * #footer google_search {
    display: block; margin-left: auto; margin-right: auto;}

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Thread Starter [gchandler](https://wordpress.org/support/users/gchandler/)
 * (@gchandler)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/css-formatting-issue/#post-286523)
 * Also I seem to be having an issue with the horizontal scroll bar. I acts as if
   the content of my page is much wider then anything that is displayed.
 * I am using firefox on windows XP. This issue does not show up on safari under
   osX.
 * Thanks in advance for the help.
 *  [Kassad](https://wordpress.org/support/users/kassad/)
 * (@kassad)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/css-formatting-issue/#post-286528)
 * In Firefox, use the web developer toolbar (get it if you have not yet got it)
   and see outline block level elements.
 *  Thread Starter [gchandler](https://wordpress.org/support/users/gchandler/)
 * (@gchandler)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/css-formatting-issue/#post-286613)
 * Any more advice?
 *  Thread Starter [gchandler](https://wordpress.org/support/users/gchandler/)
 * (@gchandler)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/css-formatting-issue/#post-286632)
 * Someone must have some insight into this issue?
 *  [Les Bessant](https://wordpress.org/support/users/lesbessant/)
 * (@lesbessant)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/css-formatting-issue/#post-286634)
 * How about this:
 * `#google_search table{
    margin-left: auto; margin-right: auto; }
 * The web developer toolbar came in handy for that 🙂
 * (Tested in Firefox only)
 *  [ifelse](https://wordpress.org/support/users/ifelse/)
 * (@ifelse)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/css-formatting-issue/#post-286635)
 * > “Someone must have some insight into this issue?”
 * Please try and remember that we’re all volunteers here and that what you’ve posted
   is a CSS query in a WP support forum.
 * Try adding the following to the bottom of your css file.
    `#footer #google_search{
   margin:0 auto; width:500px; }
 *  Thread Starter [gchandler](https://wordpress.org/support/users/gchandler/)
 * (@gchandler)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/css-formatting-issue/#post-286638)
 * ifelse thanks, I was missing the # in front of google_search. Syntax errors are
   a pain.
 * Works now.
 * Thanks to everyone that helped out.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘CSS formatting Issue’ is closed to new replies.

## Tags

 * [center](https://wordpress.org/support/topic-tag/center/)
 * [homepage](https://wordpress.org/support/topic-tag/homepage/)

 * 7 replies
 * 4 participants
 * Last reply from: [gchandler](https://wordpress.org/support/users/gchandler/)
 * Last activity: [20 years, 5 months ago](https://wordpress.org/support/topic/css-formatting-issue/#post-286638)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
