Format PDF Button
Format PDF Button
sr22
Posts: 8Questions: 4Answers: 0
Hello guys.
I used Datatables on my page and it works perfectly.
Now I want to style the PDF button that it fits into my page.
My problem is that I'm not able to style the :hover attribute for my button.
I tried it in the buttons.dataTables.min.css already but I cant figure out what class is needed.
Thank you for your help!
This discussion has been closed.
Answers
div.dt-buttons a.dt-button
probably. Unless you are using one of the styling compatibility libraries.Allan
already tried this but no reaction.
Can you link to the page in question in that case please. Its possible you are using a styling package which would alter the selector required.
Allan
Hi allan.
At this moment I'm not able to share the site because it's on a local server in my company.
Putting the whole code in a fiddle is not very useful because the data is read from db and so on.
If I put the div.dt-buttons a.dt-buttons:hover in the local stylsheet it should be overwridden or am I wrong?
Simon
Maybe you can put together a test case with your styling setup, etc. To see why the PDF button isn't styled as desired is independent of your data.
Kevin