Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 12-15-2012, 04:31 PM   #1
FunkeXMix
Enthusiast
FunkeXMix began at the beginning.
 
Posts: 48
Karma: 10
Join Date: Aug 2011
Device: Ipad
Quotation Blocks that work with KF8 and iBooks

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

Code:
<p class="quotes">"content content content "<span>John Doe</span></p>
CSS for quote content

Code:
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

Code:
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; }

Last edited by FunkeXMix; 12-15-2012 at 04:33 PM.
FunkeXMix is offline   Reply With Quote
Old 12-15-2012, 05:14 PM   #2
mzmm
Groupie
mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.
 
mzmm's Avatar
 
Posts: 171
Karma: 86271
Join Date: Feb 2012
Device: iPad, Kindle Touch, Sony PRS-T1
is there a reason you're making everything so !important?
mzmm is offline   Reply With Quote
Advert
Old 12-17-2012, 01:05 AM   #3
Aerys
Connoisseur
Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.
 
Aerys's Avatar
 
Posts: 51
Karma: 29994
Join Date: Nov 2011
Location: Manila, Philippines
Device: iPad 2 & Nexus 7
Why not use a <blockquote> tag instead?
Aerys is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Content KF8 only or combined KF8/Mobi JSWolf Amazon Kindle 9 06-03-2012 09:11 PM
iBooks FL to KF8 FL script? chrxr Kindle Formats 2 05-21-2012 12:01 PM
-webkit-hyphens: none; does it work in iBooks? Balaji Workshop 2 08-23-2011 10:18 AM
what format will work in the ibooks applicatoin? vaughn Apple Devices 5 02-12-2011 12:28 PM
iPad Is there any work happening at Apple to have an emulator of iBooks reader for WinOS? papilonv Apple Devices 4 02-04-2011 01:28 AM


All times are GMT -4. The time now is 12:32 PM.


MobileRead.com is a privately owned, operated and funded community.