![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
In an earlier post I asked about making a TOC which shrank to fit and was centred, and got some helpful replies. Also, if my memory serves me rightly Dorayme suggested that since Tables of Content are lists I should have used an unordered list. I forgot to respond that not many ebook Tables of Contents have bullets. |
#3
| |||
| |||
|
|
In an earlier post I asked about making a TOC which shrank to fit and was centred, and got some helpful replies. I've put a small test page at http://pianoboe.net/ebooks/TestTOC.html It validates and looks good to me on a browser, but doesn't damn well work on an ebook - at least in Mobipocket format. |
agebreak/> tag.|
But I'd still like people to check it out. Also, if my memory serves me rightly Dorayme suggested that since Tables of Content are lists I should have used an unordered list. I forgot to respond that not many ebook Tables of Contents have bullets. |
#4
| |||
| |||
|
|
On Mon, 06 Jul 2009 11:30:48 GMT, Alex Bell wrote: In an earlier post I asked about making a TOC which shrank to fit and was centred, and got some helpful replies. I've put a small test page at http://pianoboe.net/ebooks/TestTOC.html It validates and looks good to me on a browser, but doesn't damn well work on an ebook - at least in Mobipocket format. Thanks to you (by which I mean to say, may a curse be upon you for all eternity), I now know much more about eBooks than I knew before, and much more than I ever wanted to know. Far from being an expert, I am now nevertheless certain at least that I do not want to author for an eBook anytime in this decade; the specs and formats are far too perverse to work with. You were right when you said that the browser wars don't compare to the situation here. Sheesh! I offer here a couple items I found which may help you, or at least mildly interest other readers here. (Otherwise apologies for the very long post with much pasting of text.) Much very useful information snipped - I've printed the original page. |
#5
| |||
| |||
|
|
Also, if my memory serves me rightly orayme suggested that since Tables of Content are lists I should have used an unordered list. I forgot to respond that not many ebook Tables of Contents have bullets. |
#6
| |||
| |||
|
|
I offer here a couple items I found which may help you, or at least mildly interest other readers here. (Otherwise apologies for the very long post with much pasting of text.) |
#7
| |||
| |||
|
|
I offer here a couple items I found which may help you, or at least mildly interest other readers here. (Otherwise apologies for the very long post with much pasting of text.) |
#8
| |||
| |||
|
|
John Hosking wrote: On Mon, 06 Jul 2009 11:30:48 GMT, Alex Bell wrote: In an earlier post I asked about making a TOC which shrank to fit and was centred, and got some helpful replies. I've put a small test page at http://pianoboe.net/ebooks/TestTOC.html It validates and looks good to me on a browser, but doesn't damn well work on an ebook - at least in Mobipocket format. Far from being an expert, I am now nevertheless certain at least that I do not want to author for an eBook anytime in this decade; the specs and formats are far too perverse to work with. You didn't comment on my latest idea for a shrink to fit centred TOC; I'd still like to know whether this is acceptable markup in case it will work in ePub when I get an ePub reader. |
#9
| |||
| |||
|
|
On Mon, 06 Jul 2009 22:31:20 GMT, Alex Bell wrote: John Hosking wrote: On Mon, 06 Jul 2009 11:30:48 GMT, Alex Bell wrote: In an earlier post I asked about making a TOC which shrank to fit and was centred, and got some helpful replies. I've put a small test page at http://pianoboe.net/ebooks/TestTOC.html It validates and looks good to me on a browser, but doesn't damn well work on an ebook - at least in Mobipocket format. Far from being an expert, I am now nevertheless certain at least that I do not want to author for an eBook anytime in this decade; the specs and formats are far too perverse to work with. You didn't comment on my latest idea for a shrink to fit centred TOC; I'd still like to know whether this is acceptable markup in case it will work in ePub when I get an ePub reader. You probably won't like this, Alex, but I don't feel I can comment much on your idea. It'd be like me telling a mountain climber what to take on an expedition to Mt. Everest. I know what to take on a hike into the hills (a water bottle, some sunblock, a sweater, etc.) because I've done that a few times. The mountain climber's better off without my uneducated kibbitzing. Having said that, I can say some things about your code's usefulness as a Web page. The eBook compatibility you'll have to check. In IE6, the TOC is left-aligned, not centered. The markup has a validation error, since the expected namespace is missing. It does seem semantically acceptable to me, although I'd probably use <li> instead of <p> for the links. If it worked in all the (relevant) browsers, though, that'd be good enough for me, esp. if it were 100% valid. (You said earlier that it validated, but there is that xmlns error, and there's a link to a text.css file which doesn't resolve.) But all that's moot, IMHO. I think it'll be all you can do to make your stuff do what you want in the eBook environment, so any way you can get there is good. And yes, I'm painfully aware that what I'm saying sounds like advice on how to code HTML so it works in both the latest browsers, Netscape *and* IE4. I can't tell you how sorry I am about that. One of the few advantages in working on ebook HTML is that I don't have |
#10
| |||
| |||
|
|
In article <Ifl4m.2973$ze1.1508 (AT) news-server (DOT) bigpond.net.au>, Alex Bell <afjbell (AT) bigpond (DOT) net.au> wrote: ... Also, if my memory serves me rightly orayme suggested that since Tables of Content are lists I should have used an unordered list. I forgot to respond that not many ebook Tables of Contents have bullets. Bullets are not a glued on feature of HTML lists. They just happen to be an optional thing that is set to *on* by default in most browsers. You simply set them to be off. list-style-type: none; Thanks again. I remembered that two minutes after firing off the other |
![]() |
| Thread Tools | |
| Display Modes | |
| |