05-24-2013, 04:41 PM | #1 |
Junior Member
Posts: 1
Karma: 10
Join Date: May 2013
Location: Olympia, WA
Device: none
|
table centering in ePub
I have been attempting to center tables in an ePub file. The eBook was designed in and exported from InDesign CS6; I then edited the CSS and xhtml using Dreamweaver CS6 to center the tables (and allow extra space beneath them).
I finally was able to get them to look right in ADE and Nook for PC, but now the ePub file doesn't validate with the idpf ePub validator. I receive an error: element "table" not allowed here; expected the element end-tag, text or element...[followed by many suggestions] at every line where I have a table. I don't understand what this error means, or why a table wouldn't be allowed. If I run my original exported ePub (without CSS and XHTML editing) through the ePub validator, I do not get any errors, even though the tables are in the same place. Any ideas? |
05-24-2013, 05:41 PM | #2 |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
I would expect the tag before this is not closed. You may have placed your table at the wrong level. It should be a block level element.
Dale |
Advert | |
|
Tags |
centering, epub, tables |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Simple table centering when going from ePub->mobi | courageforever | Conversion | 3 | 12-15-2012 03:16 PM |
Touch no table of contents of epub 3.0 | tshering | Kobo Reader | 6 | 10-27-2012 01:09 PM |
Centering text epub for NOOK Color | photoluminations | Conversion | 3 | 12-15-2011 12:01 PM |
Sideway Table in ePub (Rotate table/text) | Lapiz | ePub | 3 | 01-29-2010 01:11 PM |
EPUB Table of Contents | Acey | Calibre | 7 | 11-19-2008 11:35 AM |