View Full Version : How to do a HTML like TABLE in ePub?


flameproof
03-18-2012, 06:41 AM
How can I make a HTML like TABLE in ePub?

I am very familiar with HTML and PHP, but not so clear about ePub flavourd CSS.

What I like to know:

Table with/without frames.
Different border thickness
Spanning

I creating a TABLE as image an option? But then I can't change the size, right?

Jellby
03-18-2012, 07:04 AM
ePub CSS is basically CSS 2.1. Have a look at the spec (http://idpf.org/epub/20/spec/OPS_2.0.1_draft.htm#Section3.3), you have all supported properties.

Rob Lister
03-18-2012, 07:49 AM
How can I make a HTML like TABLE in ePub?

I am very familiar with HTML and PHP, but not so clear about ePub flavourd CSS.

What I like to know:

Table with/without frames.
Different border thickness
Spanning

I creating a TABLE as image an option? But then I can't change the size, right?

EPUB supports tables just fine, but there is limited horizontal landscape available for displaying them. That, coupled with not knowing what size font the reader will use makes them iffy.

for wide tables, sometimes converting it to an image is best; the width or height of which can still be controlled as a function of %