View Full Version : Quotation Blocks that work with KF8 and iBooks


FunkeXMix
12-15-2012, 05:31 PM
Hi all,

I wanted to share some code that I came up with, but will it work in iBooks, KF8? I would like to start a discussion about this.

HTML

<p class="quotes">"content content content "<span>John Doe</span></p>

CSS for quote content

p.quotes {

margin: .5em !important;
padding: .5em !important;
width:80% !important;
text-align:left !important;
font-weight: bold;
text-indent:0 !important;
}



CSS for the signature

p.quotes span{
font-size:0.833em;
font-weight:300;
line-height:1.2;
padding-top:15px;
display:block;
text-transform:uppercase;
text-align:right; }

mzmm
12-15-2012, 06:14 PM
is there a reason you're making everything so !important?

Aerys
12-17-2012, 02:05 AM
Why not use a <blockquote> tag instead?