Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 81994

Styling of buttons with images

$
0
0
Hei,

Does anybody know how to add image for buttons background? I tried to check in "TableTools.css".
I am thinking to use two classes: .excel og .print which predefine position for background sprite-image.

.icon-social {
background-image: url('../images/shared/icons-social-sprite.png');
}

.excel{
background-position: 0 -437px;
}
.pdf{
background-position: 0 -460px;
}

How can I apply/add these classes to excel and pdf buttons (TableTools panel)?

Are there possibilities to use Buttons options(http://datatables.net/extras/tabletools/button_options) for fixing this problem?

Thanks

Viewing all articles
Browse latest Browse all 81994

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>