Eric van der Vlist wrote: > >>XXE only supports the separated borders model. That is, the only way to >>specify borders is to specify them around individual cells (i.e. not >>around rows, not around row groups). > > > Hmmm... I am not sure I understand this statement: defining borders > around rows seems to work pretty well!
I don't see how defining borders around rows could work in XXE which only supports the separated borders model. A bug may be? It should not work... >>Adding a border on a specific side of a cell is achieved by specifying, >>for example, "border-bottom-color:black;" (this adds a line at the >>bottom of the cell). >> >>Suppressing a border on a specific side of a cell is achieved by >>specifying, for example, "border-top-color:transparent;" (this >>suppresses the line at the top of the cell). > > > Yes, that's what I have done. That's working pretty well with the > DocBook/XHTML model as long as you do not use colspan/rowspan attributes > that mess up everything (at least in the absence of border: hidden > support. > > The issue when you start using colspan/rowspan attributes is that I > don't see how you can compute row and column positions to decide which > border should be drawn using CSS selectors. > > The other approach that would work in "pure" CSS is for each cell to > decide if the borders should be drawn depending on table/@colsep and > table/rowsep and to override that for the outer border as defined by > table/@frame using border: hidden when needed. > > That seems pretty straightforward, thus my question : would you consider > implementing that CSS feature? :-) ... In fact, I don't really understand what you intend to do if you had border: hidden. The easiest way to solve this is to send me a CSS styling tables using the way you imagine it can been done. If it is easy and generic, there is no reason not to implement that quickly. -------------- Other problem: I also don't understand how you can use rowsep,colsep with HTML tables in a DocBook-like DTD. Let's take for example the DocBook 4.3 DTD, even if rowsep,colsep are allowed by the DTD for tables/informaltables, you should refrain from using these attributes when the tables/informaltables are in fact HTML tables (i.e. having the HTML content model and not having the CALS content model). But may be what you said does not apply to HTML tables in a DocBook-like DTD, but just to DocBook-like tables.

