Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 09-14-2023, 08:36 AM   #16
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 74,520
Karma: 129668758
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Here is the CSS and HTML I would use for your lists.

HTML
Code:
<blockquote>
<p class="list">Virginia Creeper, Creeping</p>
CSS
Code:
blockquote {
  margin-top: 1em;
  margin-right: 1.5em;
  margin-bottom: 1em;
  margin-left: 1.5em;
}
.blockquote {
  margin-top: 1em;
  margin-right: 1.5em;
  margin-bottom: 0;
  margin-left: 1.5em;
}
.list {
  margin-left: 1.2em;
  text-indent: -1.2em;
}
Then you you get to the end of the first stanza...

Code:
</blockquote>
<blockquote>
For the last stanza, use...

Code:
<blockquote class="blockquote">
To prevent the chance of a blank page depending on settings.

Last edited by JSWolf; 09-14-2023 at 08:39 AM.
JSWolf is offline   Reply With Quote
Old 09-14-2023, 10:25 AM   #17
WV-Mike
Connoisseur
WV-Mike began at the beginning.
 
Posts: 66
Karma: 10
Join Date: Jul 2023
Device: None
List styling - dislay: none

Quote:
Originally Posted by JSWolf View Post
Here is the CSS and HTML I would use for your lists.
I added that to the page.
Weirdly enough ReadEra renders the text in italics.

I added : text-decoration: none;
to:
.list {
margin-left: 1.2em;
text-indent: -1.2em;
}
But it still renders as italicized in ReadEra
Thanks,
WV-Mike

Quote:
Originally Posted by JSWolf View Post
HTML
Code:
<blockquote>
<p class="list">Virginia Creeper, Creeping</p>
CSS
Code:
blockquote {
  margin-top: 1em;
  margin-right: 1.5em;
  margin-bottom: 1em;
  margin-left: 1.5em;
}
.blockquote {
  margin-top: 1em;
  margin-right: 1.5em;
  margin-bottom: 0;
  margin-left: 1.5em;
}
.list {
  margin-left: 1.2em;
  text-indent: -1.2em;
}
Then you you get to the end of the first stanza...

Code:
</blockquote>
<blockquote>
For the last stanza, use...

Code:
<blockquote class="blockquote">
To prevent the chance of a blank page depending on settings.
Attached Thumbnails
Click image for larger version

Name:	green_cath_css_italics.jpg
Views:	54
Size:	40.4 KB
ID:	203759  
WV-Mike is offline   Reply With Quote
Old 09-14-2023, 12:52 PM   #18
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,516
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
If you want any kind of control on display, you just need to remember three words: don't use lists.
Jellby is online now   Reply With Quote
Old 09-14-2023, 03:50 PM   #19
WV-Mike
Connoisseur
WV-Mike began at the beginning.
 
Posts: 66
Karma: 10
Join Date: Jul 2023
Device: None
List styling - dislay: none

Quote:
Originally Posted by Jellby View Post
If you want any kind of control on display, you just need to remember three words: don't use lists.
By "list" do you mean these tags: ol, ul, li ?

If so, the above CSS/HTML provided by JSWolf is not a list.
Correct?

Thanks,
WV-Mike
WV-Mike is offline   Reply With Quote
Old 09-14-2023, 03:57 PM   #20
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,516
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Right. With lists I mean the HTML list tags (<ol>, <ul>, <dl>).
Jellby is online now   Reply With Quote
Old 09-15-2023, 08:15 AM   #21
rjwse@aol.com
Addict
rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.
 
rjwse@aol.com's Avatar
 
Posts: 289
Karma: 2228060
Join Date: Dec 2013
Location: LaVernia, Texas
Device: kindle epub readers on android
There are so many kinds of lists. Have a look at this file in calibre's tag editor for ideas. Best Regards, Pop
Attached Files
File Type: epub css lists - RJW Seddon.epub (883.3 KB, 49 views)
rjwse@aol.com is offline   Reply With Quote
Old 09-15-2023, 12:53 PM   #22
WV-Mike
Connoisseur
WV-Mike began at the beginning.
 
Posts: 66
Karma: 10
Join Date: Jul 2023
Device: None
List styling - dislay: none

Quote:
Originally Posted by rjwse@aol.com View Post
There are so many kinds of lists. Have a look at this file in calibre's tag editor for ideas. Best Regards, Pop
Thanks, Pop

WV-Mike
WV-Mike is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
TOC styling stellatus Editor 2 02-19-2022 05:32 PM
Styling of the dictionary in Neoreader Markismus Onyx Boox 1 10-26-2020 04:34 AM
Styling of H1 not as expected Arkadian Conversion 5 09-09-2014 05:49 AM
Styling lists democrite ePub 12 01-17-2013 02:03 PM


All times are GMT -4. The time now is 01:08 PM.


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