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, 04: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
Old 05-24-2013, 05: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: 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
DaleDe is offline   Reply With Quote
Advert
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 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


All times are GMT -4. The time now is 07:20 PM.


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