PDF Generating Tool Support Forum

HOME   Login   Register    Search




  Subject: borders not showing ?
   PostPosted: 04 May 2011, 17:40 
Hi,

I have a few tables inside my jsp page with cells like this

<td align="left" text-align="left" style="width:25%; height:60px; font-weight:bold; border-bottom:thin solid black"></td>

the thin solid black bottom border is not showing up in the pdf, even though if I take away the custom tags the page renders fine into html with the borders showing.

Any idea how to solve this ? thanks !


  Subject: Re: borders not showing ?
   PostPosted: 05 May 2011, 14:03 
1. you need to define
TABLE {empty-cells: show}
or to add any content to the cell:
<td align="left" text-align="left" style="width:25%; height:60px; font-weight:bold; border-bottom:thin solid black">&nbsp;</td>

2. For some reason "thin" is not understood by the HTML renderer, so as a temporal workaround please use numeric border width:
border-bottom: 2 solid black



[Reply]     [ 2 posts ] 

Copyright ©2004-10 zefer|org. All rights reserved. Bookmark and Share