Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 10-08-2011, 08:16 PM   #1
sgirsberger
Enthusiast
sgirsberger can extract oil from cheesesgirsberger can extract oil from cheesesgirsberger can extract oil from cheesesgirsberger can extract oil from cheesesgirsberger can extract oil from cheesesgirsberger can extract oil from cheesesgirsberger can extract oil from cheesesgirsberger can extract oil from cheese
 
Posts: 36
Karma: 1000
Join Date: Dec 2010
Location: Virginia Beach, VA, USA
Device: iPhone, NOOK Color, iPad
Shrinking type in lists

Hi. Back with more questions about lists.

Attached is a screen grab of the split between code and design of the book I’m cleaning up in DW, and an RTF of my coding of a couple of the lists.

The lists are all indented as planned, and ordered/unordered where planned, BUT as the hierarchy descends, the type gets smaller (see the LL-BL1, LL-BL2, LL-BL3 list items). Yes, there is a reason for the classes -- space above the first list item and below the last list item in the print book. I have tried controlling this by setting percentages higher than the point size of the <p> tag (the desired size for ALL of these lists), but I must be missing something, because nothing I do works. I tried setting the size the same as the <p> tag first, but that didn’t work, and that was when I resorted to either a larger em or percentage.

I'm perfectly happy to recode the lists, but I'm at my wits’ end right now, and I need to move this along. Your advice will be greatly appreciated.
Attached Thumbnails
Click image for larger version

Name:	side-by-side_lists.jpg
Views:	103
Size:	543.6 KB
ID:	77482  
Attached Files
File Type: rtf list-styles.rtf (2.4 KB, 77 views)

Last edited by sgirsberger; 10-08-2011 at 08:17 PM. Reason: clarification
sgirsberger is offline   Reply With Quote
Old 10-09-2011, 03:06 PM   #2
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 3,188
Karma: 7422141
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
I am not quite sure what you mean, but if you mean that your lists have a smaller font, than that can probably be changed quite easy.
Put the following in your stylesheet:
Code:
ul,ol {
font-size: 1em;
}
Did you try in different readers/browsers?
Toxaris is offline   Reply With Quote
 
Advertisement
Old 10-09-2011, 03:32 PM   #3
sgirsberger
Enthusiast
sgirsberger can extract oil from cheesesgirsberger can extract oil from cheesesgirsberger can extract oil from cheesesgirsberger can extract oil from cheesesgirsberger can extract oil from cheesesgirsberger can extract oil from cheesesgirsberger can extract oil from cheesesgirsberger can extract oil from cheese
 
Posts: 36
Karma: 1000
Join Date: Dec 2010
Location: Virginia Beach, VA, USA
Device: iPhone, NOOK Color, iPad
Thanks for your advice, Toxaris, but I ended up having to spec 1.15em for the affected list styles for the time being. In future projects, I'll examine the cascades more carefully and apply more practical style sheets instead of just what I’m getting from InDesign. As I learn more, I’ll be able to use the export options intelligently.
sgirsberger is offline   Reply With Quote
Old 10-09-2011, 09:20 PM   #4
shall1028
Zealot
shall1028 puts his or her pants on both legs at a time.shall1028 puts his or her pants on both legs at a time.shall1028 puts his or her pants on both legs at a time.shall1028 puts his or her pants on both legs at a time.shall1028 puts his or her pants on both legs at a time.shall1028 puts his or her pants on both legs at a time.shall1028 puts his or her pants on both legs at a time.shall1028 puts his or her pants on both legs at a time.shall1028 puts his or her pants on both legs at a time.shall1028 puts his or her pants on both legs at a time.shall1028 puts his or her pants on both legs at a time.
 
shall1028's Avatar
 
Posts: 148
Karma: 133978
Join Date: Jun 2010
Device: Kobo
Of course the next question to ask is why one <ul></ul> pair needs <li> elements with classes LL-BL1, LL-BL2 and LL-BL3. Looks like a case of "class and DIV"itis.
shall1028 is offline   Reply With Quote
Old 10-09-2011, 09:54 PM   #5
sgirsberger
Enthusiast
sgirsberger can extract oil from cheesesgirsberger can extract oil from cheesesgirsberger can extract oil from cheesesgirsberger can extract oil from cheesesgirsberger can extract oil from cheesesgirsberger can extract oil from cheesesgirsberger can extract oil from cheesesgirsberger can extract oil from cheese
 
Posts: 36
Karma: 1000
Join Date: Dec 2010
Location: Virginia Beach, VA, USA
Device: iPhone, NOOK Color, iPad
Yes, regrettably, as a traditional book designer, I have paragraph styles within my book files that include one style for the first list item, one style for the middle list items, and one for the third list item in any given group of list items. The first list item is generally styled with space above, while the third list item is generally styled with space below. The paragraph style for the middle item(s), which has no space above/below, is routinely the style on which the other two are based, and the body text (<p>) is generally the parent style for the lot.

I do this to avoid local overrides, which would present their own unique problems when ported over to CSS, I’m sure.

It’s difficult to give up old habits, shall1028, but once I get the inheritance concepts in hand, I know I will find it much easier to format across many files. Amazing how my nicely organized styles and files only do about two-thirds of the work upon export from InDesign CS5.5.
sgirsberger is offline   Reply With Quote
Old 10-10-2011, 02:13 PM   #6
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 9,795
Karma: 5137308
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2
Using a CSS of ol + li {} should allow fixing the first item in the list but I don't know how you fix the last item.

Dale
DaleDe is offline   Reply With Quote
Old 10-11-2011, 05:22 AM   #7
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: 6,325
Karma: 4964183
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
If you want space above the first item and below the last item, shouldn't it be equivalent to having space above and below the whole list (ol/ul)?
Jellby is offline   Reply With Quote
Reply

Tags
css, hierarchy, list, ordered, unordered

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Lettered lists Christopher Wood Kindle Formats 22 06-20-2011 06:33 AM
Richard Matheson - The Incredible Shrinking Man (now $0.99 ) [SF] (Amazon US ) NightBird Deals, Freebies, and Resources (No Self-Promotion) 2 05-19-2011 05:28 PM
Display File Type and Sort by Type pragmortal Calibre 7 09-21-2009 09:07 PM
Shrinking Amazon free book list spiegels Amazon Kindle 14 03-04-2009 08:54 PM


All times are GMT -4. The time now is 01:17 AM.


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