Re: Border issue
Matthew Either I'm being even more stupid than usual or there's a problem with your acrobat reader. In the pdf you attached on my machine (NT4 (SP4) and Acrobat 5.0.0 the blue colour is perfectly contained in the cell. I think the Standard Error text seems a little high in the cell below but since you're not complaining about that... Have you tried it on another machine? John - Original Message - From: Zaleski, Matthew (M.E.) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 03, 2004 8:19 PM Subject: FW: Border issue /bump -Original Message- From: Zaleski, Matthew (M.E.) Sent: Thursday, July 29, 2004 4:57 PM To: [EMAIL PROTECTED] Subject: RE: Border issue Ok, I've stripped my example down even further. I've eliminated all padding attributes. I have background-color enabled on a single cell. I also am now using borders only on table-cell elements. I turned off the outside border on the table in case it was a problem. In the new example attached here, the background color is clearly bleeding all over the place (especially since I set it only for a single cell). I can see no attributes left in my XSL-FO to explain it. If I move background-color to the fo:block, the pattern is the same. My understanding of the XSL-FO spec was that padding pushed out beyond the borders and that was why you suggested eliminating padding. Is there any hope of using background color (or a workaround that achieves the same effect) in 0.20.5? Your response seems to indicate that I should not be seeing this behavior. -Original Message- From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 28, 2004 5:11 PM To: [EMAIL PROTECTED] Subject: Re: Border issue Zaleski, Matthew (M.E.) wrote: Thanks for the answer. What is the proper workaround for not using padding? I need to keep space between my blocks and the borders of the cells. Some of the cells have single blocks, some have multiple blocks (like the header row). Enclose the content in yet another block, and try to use space-before/space-start/whatever on this block. Padding might work in this case. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Border issue
I was using Acrobat Standard Edition 6.0.1. I also tried it on Acrobat Reader v5.0.5 on another machine. Same results for me, bleeding still occurs. Were you zooming all the way in on the edge of the cell? Although it is not bad in this example file, with a table border turned on, the problem looks much worse. The blue background overwrites the outside table border. -Original Message- From: John Burgess [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 04, 2004 5:20 AM To: [EMAIL PROTECTED] Subject: Re: Border issue Matthew Either I'm being even more stupid than usual or there's a problem with your acrobat reader. In the pdf you attached on my machine (NT4 (SP4) and Acrobat 5.0.0 the blue colour is perfectly contained in the cell. I think the Standard Error text seems a little high in the cell below but since you're not complaining about that... Have you tried it on another machine? John - Original Message - From: Zaleski, Matthew (M.E.) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 03, 2004 8:19 PM Subject: FW: Border issue /bump -Original Message- From: Zaleski, Matthew (M.E.) Sent: Thursday, July 29, 2004 4:57 PM To: [EMAIL PROTECTED] Subject: RE: Border issue Ok, I've stripped my example down even further. I've eliminated all padding attributes. I have background-color enabled on a single cell. I also am now using borders only on table-cell elements. I turned off the outside border on the table in case it was a problem. In the new example attached here, the background color is clearly bleeding all over the place (especially since I set it only for a single cell). I can see no attributes left in my XSL-FO to explain it. If I move background-color to the fo:block, the pattern is the same. My understanding of the XSL-FO spec was that padding pushed out beyond the borders and that was why you suggested eliminating padding. Is there any hope of using background color (or a workaround that achieves the same effect) in 0.20.5? Your response seems to indicate that I should not be seeing this behavior. -Original Message- From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 28, 2004 5:11 PM To: [EMAIL PROTECTED] Subject: Re: Border issue Zaleski, Matthew (M.E.) wrote: Thanks for the answer. What is the proper workaround for not using padding? I need to keep space between my blocks and the borders of the cells. Some of the cells have single blocks, some have multiple blocks (like the header row). Enclose the content in yet another block, and try to use space-before/space-start/whatever on this block. Padding might work in this case. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Border issue
Just have a look at this. It helps me keep space between blocks and the header of the cells. fo:table-row fo:table-cell padding=3pt 3pt 3pt 3pt text-align=left border-color=#FF #FF #FF #FF border-style=none solid none none border-width=0pt .5pt 0pt 0pt background-color=#ddd fo:block text-align=left font-size=9ptheader1/fo:block /fo:table-cell fo:table-cell padding=3pt 3pt 3pt 3pt text-align=left border-color=#FF #FF #FF #FF border-style=none solid none solid border-width=0pt .5pt 0pt .5pt background-color=#ddd fo:block text-align=right font-size=9pt header2 /fo:block /fo:table-cell fo:table-cell padding=3pt 3pt 3pt 3pt text-align=left border-color=#FF #FF #FF #FF border-style=none none none solid border-width=0pt 0pt 0pt .5pt background-color=#ddd fo:block text-align=left font-size=9pt header3 /fo:block /fo:table-cell /fo:table-row I need to keep space between my blocks and the borders of the cells.
RE: Border issue
Ok, I've stripped my example down even further. I've eliminated all padding attributes. I have background-color enabled on a single cell. I also am now using borders only on table-cell elements. I turned off the outside border on the table in case it was a problem. In the new example attached here, the background color is clearly bleeding all over the place (especially since I set it only for a single cell). I can see no attributes left in my XSL-FO to explain it. If I move background-color to the fo:block, the pattern is the same. My understanding of the XSL-FO spec was that padding pushed out beyond the borders and that was why you suggested eliminating padding. Is there any hope of using background color (or a workaround that achieves the same effect) in 0.20.5? Your response seems to indicate that I should not be seeing this behavior. -Original Message- From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 28, 2004 5:11 PM To: [EMAIL PROTECTED] Subject: Re: Border issue Zaleski, Matthew (M.E.) wrote: Thanks for the answer. What is the proper workaround for not using padding? I need to keep space between my blocks and the borders of the cells. Some of the cells have single blocks, some have multiple blocks (like the header row). Enclose the content in yet another block, and try to use space-before/space-start/whatever on this block. Padding might work in this case. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] mztest2.fo Description: mztest2.fo mztest2.pdf Description: mztest2.pdf - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Border issue
Zaleski, Matthew (M.E.) wrote: Look at the line with the light blue background. The borders on extreme left are right edge are getting overwritten by the background color. (the background color is bleeding on the top as well.) I'm doing nested tables for layout purposes. I've tried having the outside border be generated by the fo:table and (in this example) the enclosing fo:table-cell element. The problem doesn't change. That's a known problem. Don't use padding. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Border issue
Thanks for the answer. What is the proper workaround for not using padding? I need to keep space between my blocks and the borders of the cells. Some of the cells have single blocks, some have multiple blocks (like the header row). -Original Message- From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 28, 2004 4:20 PM To: [EMAIL PROTECTED] Subject: Re: Border issue Zaleski, Matthew (M.E.) wrote: Look at the line with the light blue background. The borders on extreme left are right edge are getting overwritten by the background color. (the background color is bleeding on the top as well.) I'm doing nested tables for layout purposes. I've tried having the outside border be generated by the fo:table and (in this example) the enclosing fo:table-cell element. The problem doesn't change. That's a known problem. Don't use padding. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Border issue
Zaleski, Matthew (M.E.) wrote: Thanks for the answer. What is the proper workaround for not using padding? I need to keep space between my blocks and the borders of the cells. Some of the cells have single blocks, some have multiple blocks (like the header row). Enclose the content in yet another block, and try to use space-before/space-start/whatever on this block. Padding might work in this case. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]