[SOLVED] Centering blockquotes on the center area
I am wondering how to center blockquotes on the center block.
Here is my test page: http://wholehearted.heinrich.id.au/?page_id=80 which you can see is offset. I would like the blockquote centered in the center block. The code from the blockquotes styling: Blockquotes: text-align: center; width: 750px; font: italic 1.1em arial, sans-serif; color: #fff; padding: .1em .1em; background: #A50D12; blockquotes in blockquotes: text-align: right; width: 680px; font: italic .8em arial, sans-serif; color: #fff; background: #A50D12; I am using this method to provide the quote and citation in different styles. The widths are different to align the citation text inside the overall blockquote. Is there an overiding code for centering the blockquote itself and where should it go? Appreciate your assistance. |
I figured it out. This screwed it up: width: 750px;
I've tagged the text individually instead of using nested blockquotes. This code works: text-align: center; font: italic 1.1em arial, sans-serif; color: #fff; padding: 1em 1em; background: #A50D12; width: 750px; margin-left:auto; margin-right:auto; And the blockquote is centered at the size specified. Huzzah. |
All times are GMT -6. The time now is 08:51 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.