three years agoStill testing those blockquotes
Inspired by the comments on my last entry I decided to try out their techniques with some multiple paragraphs. Since my technique was only ever aimed at single quotes, I welcome the new suggestions.
I really love the display: list-item idea that Pete Lambert but I have been avoiding last-child because of browser compatibility issues.
First I tried multiple quotes with the paragraphs displayed as list items and list-style-position: inside; the problem with that is that the second bottom right quote to display correctly without extra markup. Naturally it is not possible to have the display set as list item - to get both images appearing per paragraph - together with the display inline - to get the second quote make snuggled amongst at the end of the text.
So, just for fun I made it look nice with the constraints of no extra markup, not the same look or idea admittedly but the padding and list-style-position outside are more consistent than the first attempt.
The only way to make it resemble the first 'one paragraph - inline image quotes - effect is to add an extra div containing each paragraph, yeah its nasty, I know. The div is set to display list item with list-style-position as inside, the paragraph is display: inline with the background image.
It could be argued that logically each paragraph should not have their own quote marks, if this is the case there are a number of methods that you could use, either Ben's last child technique or Simon's similar, background image technique from a while back, which again requires extra markup.
As ever the technique you choose all comes back to the design, and what you want to do with it.
5 comments
Comments are closed.

James Wheare 23rd November 2006 00:53
Ben Ward 23rd November 2006 17:22
natbat 24th November 2006 19:15
qureyoon 25th November 2006 06:13
Michael Montgomery 20th December 2006 16:29