#14 CSS border (-left,-right,-top,-bottom) + html header

open
nobody
None
5
2007-05-30
2007-05-30
Turdus
No

Adds support for CSS style border-left,-right,-top,-bottom borders, and some minor bugfixes on table handling. Also contains html header and footer support.

NOTE: borders are NOT complete, you can only use 0 or 1 to specify the app. border (as html2fpdf can't handle border weight). So you can use:
<TABLE border=1>
<TR><TD style='border-right:0;border-top:0px;'>
or
<TABLE border=0>
<TR><TD style='border-bottom:1;'>

Also note, that if table border used, and you want to disappear a border, you have to specify it on both cells:
<TABLE border=1>
<TR>
<TD style='border-right:0;'>no right border</TD>
<TD style='border-left:0;'>no left border</TD>
</TR>
</TABLE>

Discussion

  • Turdus
    Turdus
    2007-05-30

    Adds CSS style custom borders

     
    Attachments
  • Logged In: YES
    user_id=1918240
    Originator: NO

    how do i get this to work?