stampil / php-excel-reader

Automatically exported from code.google.com/p/php-excel-reader
0 stars 0 forks source link

Border of cell in HTML lost. #77

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.add thin border at example.xls cell(30,C).

What is the expected output? What do you see instead?
The result should be whole cell rounded by thin black border in HTML. But 
the result is just right and bottom border added and left and top missing.

Please provide any additional information below.
This also happen on merged cell. It is very unstable when handling border 
of cells.

Any one can help to improve this?

Original issue reported on code.google.com by andes...@gmail.com on 24 May 2010 at 4:22

GoogleCodeExporter commented 9 years ago
I'm having similar issues with borders. In the spreadsheet I'm trying to 
convert left and right borders are not always displayed.

Original comment by rholli...@gmail.com on 17 Aug 2011 at 4:54

GoogleCodeExporter commented 9 years ago
This happens because of the empty cells their style:
table.excel tbody td {
    padding: 0 3px;
        border: 1px solid #EEEEEE;
}

you could change it to:
table.excel tbody td {
    padding: 0 3px;
    border-left:1px solid #EEEEEE;
    border-top:1px solid #EEEEEE;
}

for me that fixed it. Please let me know if that fixes your problem 2-3 years 
after lol.

Original comment by Tho...@gmail.com on 13 May 2013 at 8:49