[kronolith] IE don't repeat heading row in month print view

eugenio vota eugenio.vota at arpnet.it
Mon Feb 5 02:08:46 PST 2007


Quoting Chuck

>Quoting eugenio vota <eugenio.vota at arpnet.it>:
>
>  
>
>>Recently I take a look to the issue of the repeating heading row in  
>>the month print view,
>>and apparently up to now still don't works with IE 6, neither with  
>>the last kronolith stable release.
>>
>>So I looked for a workaround and I found that IE don't support at  
>>all the print feature of the tag THEAD e TBODY,
>>but we can get the same result with the style sheet tags.
>>
>>For example the desired behavior can be obtained, for example,  
>>adding this definition :
>>
>>	THEAD { display: table-header-group; }
>>	TFOOT { display: table-footer-group; }
>>    
>>
>
>So you'd put this in the print theme for Kronolith? Or ... Do you have  
>a suggested patch?
>
>Thanks,
>-chuck
>
>  
>

I didn't know exactly where best to place this style definitions, so I 
just tried as follow:

adding style definition at row 30 of kronolith/templates/common-header.inc

    30a31,35
    > <STYLE type="text/css">
    > THEAD { display: table-header-group; }
    > TFOOT { display: table-footer-group; }
    > </STYLE>
    >

then I also needed to modify  kronolith/templates/month/head.inc
adding at row 11 and  25, the tags THEAD and TBODY

    11c11
    <
    ---
    > <THEAD>
    25a26
    > <TBODY>

In this way the heading with the days of  week will be repeated for each 
page with IE,
but I don't know if there will be any side effects of if there is a 
better solutions.

Have you any suggestions about ?

Bye.







More information about the kronolith mailing list