[xep-support] RE: Top border lacking on repeated table headers

David Cramer dcramer at broadjump.com
Wed Feb 5 23:34:45 PST 2003


Ok, it's fairly simple to fix: just add top borders to the row in the header. I do think it would be more intuitive to keep the border declared in fo:table for the running headers, but I haven't looked at the spec regarding that. 

David

-----Original Message-----
From: David Cramer 
Sent: Thursday, February 06, 2003 1:05 AM
To: 'xep-support at renderx.com'
Subject: RE: Top border lacking on repeated table headers


Oops, my paste of the sample fo missed some important information. The sample below begins like this:

<fo:table margin-left="0pt" margin-right="0pt" border-collapse="collapse" border-left-style="solid" border-right-style="solid" border-top-style="solid" border-bottom-style="solid" border-left-width="0.5pt" border-right-width="0.5pt" border-top-width="0.5pt" border-bottom-width="0.5pt" border-left-color="black" border-right-color="black" border-top-color="black" border-bottom-color="black" width="100%">

Two other things:
XEP version = 2.8
The running headers DO have top borders when rendered by Antenna House.

Thanks,
David

-----Original Message-----
From: David Cramer 
Sent: Thursday, February 06, 2003 12:39 AM
To: 'xep-support at renderx.com'
Subject: Top border lacking on repeated table headers


I have a table with headers and borders around every cell. The first header looks fine, wiht borders all around. The headers on the subsequent pages, however, do not have a top border. Is there something wrong with my markup? It looks pretty strange to see the headers on following pages with not top border.

Thanks,
David

Modifying the ascii art from someone else's post:

+------------------+-----------+
|     Col 1 head   | Col 2 head+
+------------------+-----------+
|                  |    blah   +
|                  |    blah   +
|                  |    blah   +
|                  |    blah   +
|                  |    blah   +
|   first group    |    blah   +
|                  |    blah   +
|                  |    blah   +
+------------------+-----------+

================PAGE BREAK==============


|     Col 1 head   | Col 2 head+
+------------------+-----------+
|                  |    blah   +
|                  |    blah   +
|                  |    blah   +
+------------------+-----------+
|                  |   yadda   +
|   second group   |   yadda   +
|                  |   yadda   +
+------------------+-----------+

<fo:table-column column-number="1" column-width="1.75in"/>
<fo:table-column column-number="2"/>
<fo:table-header>
<fo:table-row>
<fo:table-cell padding-left="2pt" padding-right="2pt" padding-top="2pt" padding-bottom="2pt" keep-together.within-column="always" border-bottom-width="0.5pt" border-bottom-style="solid" border-bottom-color="black" border-right-width="0.5pt" border-right-style="solid" border-right-color="black">
<fo:block font-weight="bold">Heading</fo:block>
</fo:table-cell>
<fo:table-cell padding-left="2pt" padding-right="2pt" padding-top="2pt" padding-bottom="2pt" keep-together.within-column="always" border-bottom-width="0.5pt" border-bottom-style="solid" border-bottom-color="black"><fo:block font-weight="bold">Description</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-header>
<fo:table-body>...
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



More information about the Xep-support mailing list