Title: CSS Question for Sidebar.php
Last modified: August 18, 2016

---

# CSS Question for Sidebar.php

 *  [mjulson](https://wordpress.org/support/users/mjulson/)
 * (@mjulson)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/css-question-for-sidebarphp/)
 * I have a sidebar that is 180px wide and inside it I have a google adsense box.
   My problem is that it is hugging the left boundary. I’ve tried putting center
   tags and a few other things around the javascript, but I can’t seem to get it
   to center.
 * What’s the proper way to get javascript to center within a couple div tags?

Viewing 1 replies (of 1 total)

 *  [sasch9r](https://wordpress.org/support/users/sasch9r/)
 * (@sasch9r)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/css-question-for-sidebarphp/#post-628056)
 * Put the adsene box into a div element and set float to right / center / left.

Viewing 1 replies (of 1 total)

The topic ‘CSS Question for Sidebar.php’ is closed to new replies.

 * 1 reply
 * 2 participants
 * Last reply from: [sasch9r](https://wordpress.org/support/users/sasch9r/)
 * Last activity: [18 years, 8 months ago](https://wordpress.org/support/topic/css-question-for-sidebarphp/#post-628056)
 * Status: not a support question

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
