![]() |
#1 |
Member
![]() Posts: 19
Karma: 10
Join Date: Jan 2013
Device: none
|
Lists are shifted to the right in ADE.
I've read the known ADE bugs sticky and the #3 cause doesn't exist in my case, and the workaround doesn't get rid of the problem. The padding or margin that ADE adds is about ten characters wide at the smallest font size and five charcters at the largest size in Desktop ADE 2.0 and 1.7.
Has any one else seen this problem and found a solution? Is there a way to simulate a numbered list with a column of numbers on the left and corresponding boxes of justifed text to the right? If so, what would the html for it be? Last edited by Abull; 03-25-2014 at 02:40 PM. |
![]() |
![]() |
![]() |
#2 |
Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 629
Karma: 1623086
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
|
Don't simulate lists. That's always the wrong solution.
Are you using any CSS to specify the padding on the ul and li tags? If not, do so, e.g. Code:
<style type="text/css"> ul,ol { padding-left: 2.5em; } li { padding-left: 0; text-indent: 0; } </style> |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 19
Karma: 10
Join Date: Jan 2013
Device: none
|
I added the paddding and indent to the style sheet, but the list is still shifted to the right.
When I copy only my style sheet and the html section from my original epub into a new epub in Sigil the list isn't shifted when it's opened in ADE. I'll have to add the other sections one at a time and see if the problem reappears. |
![]() |
![]() |
![]() |
#4 |
Color me gone
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
If you are happening to use paragraph tags within the list, you could get an indent from the paragraph tag.
|
![]() |
![]() |
![]() |
#5 |
Member
![]() Posts: 19
Karma: 10
Join Date: Jan 2013
Device: none
|
Desktop ADE does seem to add a 40px left margin to lists. This is about 5 characters wide with the smallest font and zero characters wide with the largest font. Adding a 0 left margin to the style sheet works for unordered lists with no bullets, but moves the numbering of ordered lists off the page. The smallest margin that keeps the numbering of ordered lists is 36px, but then the list has a wide left margin in other viewers.
When I posted last night I was tired and got confused with trying to get rid of this default margin in part because of multiple list styles in my CSS. I was seeing a shift double the default margin width because I'd added padding in the CSS and then couldn't find it again to remove it. My apologies if I've caused any confusion. I note, reading other threads, that ADE on other devices may behave differently with regard to the default margin given to lists. Last edited by Abull; 03-25-2014 at 02:38 PM. |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
PRS-505 Bad screen (half shifted) | FlowerOS | Sony Reader | 5 | 02-18-2013 01:31 PM |
ADE not reading my validated epub Ordered Lists | Dia435 | ePub | 2 | 10-13-2012 03:21 PM |
Ordered lists and ADE | dynabook | Sigil | 3 | 01-27-2011 04:53 AM |
Continuing numbered lists (ol) in ADE | EricDP | ePub | 13 | 09-07-2010 08:30 AM |
Vade Mecum: Sentences shifted after updates | chippyt | Reading and Management | 0 | 05-06-2005 10:58 AM |