Posted by Bence on January 19, 2008 at 8:33pm
| Project: | Celju |
| Version: | 5.x-1.1 |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
Hi,
currently you can use only one paragraph inside blockquotes, because if you use for example 2 paragraphs, then you will have 4 quotes. So you can create paragraphs only with <br> tags.
I suggest a better CSS snippet:
blockquote {
background: transparent url(images/open-quote.gif) left top no-repeat;
}
blockquote div {
padding: 0 15px;
background: transparent url(images/close-quote.gif) right bottom no-repeat;
}And this is even shorter, and cleaner! If you use this snippet, make sure you create a div container inside each blockquotes. (this is even a requirement because the theme is XHTML Strict, so you cannot just type text right away inside blockquotes.)
Now this is possible to create multiple paragraphs inside a blockquote:
<blockquote>
<div><p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed at erat. Nam vulputate pretium nibh. In sed purus.</p>
<p>Quisque ullamcorper lectus. Nulla a leo. Mauris sed est. Aliquam tempor, dui vel molestie bibendum, lacus massa ornare mi, sed adipiscing mi purus sed mauris.</p></div>
</blockquote>