Jquery移动响应表不是100%宽度尽管CSS样式 [英] Jquery mobile responsive table is not 100% width despite CSS styles

查看:117
本文介绍了Jquery移动响应表不是100%宽度尽管CSS样式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人可以帮我确定为什么响应表不是全宽的原因,尽管有指示吗?

Could somebody help me to identify the reason why responsive table is not full width despite the instructions?

请检查此文档页面中找到的第一个表中的问题在页面上, http://view.jquerymobile.com/1.3。 0 / docs / widgets / table-reflow /

Please check this documentation page for the problem found in the first table on the page, http://view.jquerymobile.com/1.3.0/docs/widgets/table-reflow/.

在css中,应用width = 100%,但表不是全宽。 p>

In css it has width=100% applied, but the table is not full width.

推荐答案

看来我发现了问题。该表具有此css

It seems I found the problem. The table has this css

.ui-table-reflow.ui-responsive {
 display: table-row-group;
}

如果删除此项或更改为display:表开始占据整个宽度。

And if you remove this or change to display:table. Table starts to occupy the whole width.

这篇关于Jquery移动响应表不是100%宽度尽管CSS样式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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