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 05-24-2013, 05:41 PM   #1
liinak
Junior Member
liinak began at the beginning.
 
Posts: 1
Karma: 10
Join Date: May 2013
Location: Olympia, WA
Device: none
Question 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?
liinak is offline   Reply With Quote
Advert
Old 05-24-2013, 06:41 PM   #2
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: 10,543
Karma: 9837018
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2
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
DaleDe is offline   Reply With Quote
Reply

Tags
centering, epub, tables

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple table centering when going from ePub->mobi courageforever Conversion 3 12-15-2012 04:16 PM
Touch no table of contents of epub 3.0 tshering Kobo Reader 6 10-27-2012 02:09 PM
Centering text epub for NOOK Color photoluminations Conversion 3 12-15-2011 01:01 PM
Sideway Table in ePub (Rotate table/text) Lapiz ePub 3 01-29-2010 02:11 PM
EPUB Table of Contents Acey Calibre 7 11-19-2008 12:35 PM


All times are GMT -4. The time now is 02:22 AM.


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