I want to have a customer testimonial quote centered in the middle of a page. The quote might be arbitrary length, but doesn't span two lines. Then I want a new line and then the name of the person that provided the testimonial, just under the testimonial but right justified.
<div class="quote">
"Wow! Thanks, create customer service."
</div>
<div class="source">
-- John S. - California
</div>
Styles:
.quote {text-align:center}
.source {text-align:right; padding-right:300px;}
How do I align the source so that I works for arbitrary length of quotes?
blockquote
content that's been marked up with a div. Also, thecite
tag exists. – cimmanon Jan 9 '13 at 19:51