我如何调整jQuery数据表中的分页按钮的高度和宽度 [英] How can i adjust the height and width of pagination buttons in jquery datatable

查看:211
本文介绍了我如何调整jQuery数据表中的分页按钮的高度和宽度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何调整所有这些突出显示的按钮的大小?

how can i resize this highlighted buttons all of them?

我想缩小尺寸.

推荐答案

我只是通过在firefox浏览器中检查按钮元素来完成此操作的,并且只是用样式标签中的!important"关键字覆盖了该特定属性.我附上了示例图片.

i just done it by inspecting the button element from firefox browser.. and just overwrite that particular property with "!important" keyword in style tag. i attached the sample image.

<style>
    .dataTables_wrapper .dataTables_paginate .paginate_button
    {
        min-width: 0.2em; !important
    }
    </style>

这篇关于我如何调整jQuery数据表中的分页按钮的高度和宽度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆