Title: Need help with CSS code
Last modified: August 20, 2016

---

# Need help with CSS code

 *  [akarev](https://wordpress.org/support/users/akarev/)
 * (@akarev)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/need-help-with-css-code/)
 * Hi everyone,
 * I am fairly new to WordPress (have been using RapidWeaver before) and I have 
   got a question regarding CSS for my new blog. Basically I am trying to fix one
   little problem with the appearance of my **blockquote**. I am using **Headlines**
   premium theme (which I found on the wordpress).
 * This is CSS which I wrote for my **blockquote**:
 * blockquote {
    background:#F7F7F7; border:3px solid #EBEAE9; -moz-border-radius:
   5px; -webkit-border-radius:5px; margin:7 0; padding:5 5px; }
 * And this is how it appears on my website:
 * [http://cl.ly/0g1H0f2c2B0T220V0X45](http://cl.ly/0g1H0f2c2B0T220V0X45)
 * **So** the thing which bothers me a little bit is the fact that for some unknown
   reason there is slightly bigger blank space at the bottom of the blockquote compared
   to the top. In other words, there is more blank space at the bottom than it is
   at the top of it. I assume that the padding is wrong, however I am not entirely
   sure how to fix it. If anyone of you can help me with this, I would be very glad
   🙂
 * **Thank you very much in advance**

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

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/need-help-with-css-code/#post-2131313)
 * a link to your site pointing to the problem would help.
 * a:
    make sure the numbers in your blockquote css hae units:
 *     ```
       margin:7px 0px;
       padding:5px 5px;
       ```
   
 * b:
    the content in the blockquote is likely to be within a pragraph tag, so xheck
   the top and bottom margins of your p styles; if needed, correct them just for
   the blockquote;
 * example:
 * `blockquote p { margin: 10px 0px; }`
 *  Thread Starter [akarev](https://wordpress.org/support/users/akarev/)
 * (@akarev)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/need-help-with-css-code/#post-2131314)
 * Hi alchymyth,
 * Thank you very much for your reply. Here is the [link](http://www.akarev.com)
   to my website (blog). I’ve tried to put the additional line to my CSS as you 
   mentioned above, so here is what I’ve got so [far](http://cl.ly/1s2M2t092w3R1F161I44).
   I don’t think it helped me much, may be I should add something else/more?
 * Any more suggestions ? 🙂
 * Thank you a lot.

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

The topic ‘Need help with CSS code’ is closed to new replies.

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [akarev](https://wordpress.org/support/users/akarev/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/need-help-with-css-code/#post-2131314)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
