How do I remove the bottom padding from a blockquote?

There is a lot of bottom padding on my blockquotes. I can't get rid of it. See this image: http://imgur.com/PGCeY

My CSS settings are:

* {
   padding:0;
   margin:0;
}
blockquote {
width: 640px;
margin-bottom: 1em;
padding: 0px 0px 0px 0px;
}

I outlined what I am trying to get rid of with a red rectangle. In this image: http://imgur.com/PGCeY

Also I am using the pagelines wordpress theme.

Answers


Try adding this to the end of your CSS:

blockquote p {
    padding:0;
    margin:0;
}

If that doesn't work, right-click and view the source of your page to see the raw HTML. Then you'll know what elements are added to the blockquote.


You have a paragraph(as should be) in your blockquote? It's probably a margin from an inner element.

And it would be nice to see an actual example of the code. The code you show us here is not part of the problem from what I can tell.


Need Your Help

Ordering a System.Collections.IList

c# object dynamic ilist

Is it possible to order a System.Collection.IList without casting it to a known type?

Default content being added to 301 headers with PHP 5.3.5 / IIS7

php iis-7 http-status-code-301

On http://www.hesa.ac.uk, we are using a custom 404 handling script to redirect users from, for exmaple, http://www.hesa.ac.uk/press to the actual URL, which is an ugly CMS one:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.