Forum Moderators: open
<p>"Words of wisdom." <br /> <center> - author </center></p>
I want the author's name to be centered beneath the quote text. I do NOT want 1) other text on the page to be centered or 2) the quote text itself centered in the box; it is left justified.
What is the best way to put this into my CSS so that I get the effect I describe above? So far, I tried using
element.class {
text-align: center;
}
...but it centered everything. Do I need to create another div for just the blockquote? If so, how can I get ONLY the second line to center?
I have other pages where something similar comes up, so I think I can adapt to fit those situations. Just not sure how to get started.