TableTools 2.1.4 Button Images don't load
TableTools 2.1.4 Button Images don't load
Hi all,
I've enabled the button images section in TableTools.css but the images never load...
I suspected there's a bug in the CSS since the background-URLs were not quoted, but that didn't help either.
Any ideas on how I can get this to work once more (it worked fine with 2.0.0)?
I've enabled the button images section in TableTools.css but the images never load...
I suspected there's a bug in the CSS since the background-URLs were not quoted, but that didn't help either.
Any ideas on how I can get this to work once more (it worked fine with 2.0.0)?
This discussion has been closed.
Replies
[code]
a.DTTT_button_csv,
a.DTTT_button_xls,
a.DTTT_button_copy,
a.DTTT_button_pdf,
a.DTTT_button_print {
padding-right: 0px;
}
a.DTTT_button_csv span,
a.DTTT_button_xls span,
a.DTTT_button_copy span,
a.DTTT_button_pdf span,
a.DTTT_button_print span {
display: inline-block;
height: 24px;
line-height: 24px;
padding-right: 30px;
}
a.DTTT_button_csv span { background: url(../images/csv.png) no-repeat bottom right; }
a.DTTT_button_csv:hover span { background: url(../images/csv_hover.png) no-repeat center right; }
a.DTTT_button_xls span { background: url(../images/xls.png) no-repeat center right; }
a.DTTT_button_xls:hover span { background: #f0f0f0 url(../images/xls_hover.png) no-repeat center right; }
a.DTTT_button_copy span { background: url(../images/copy.png) no-repeat center right; }
a.DTTT_button_copy:hover span { background: #f0f0f0 url(../images/copy_hover.png) no-repeat center right; }
a.DTTT_button_pdf span { background: url(../images/pdf.png) no-repeat center right; }
a.DTTT_button_pdf:hover span { background: #f0f0f0 url(../images/pdf_hover.png) no-repeat center right; }
a.DTTT_button_print span { background: url(../images/print.png) no-repeat center right; }
a.DTTT_button_print:hover span { background: #f0f0f0 url(../images/print_hover.png) no-repeat center right; }
[/code]
I've just committed that change and it will be in the next release, or replace the old styles with the ones above in your local copy :-)
Allan
Allan