Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/36.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Css 如何在twitter引导中调整表中图像的大小?_Css_Html_Twitter Bootstrap - Fatal编程技术网

Css 如何在twitter引导中调整表中图像的大小?

Css 如何在twitter引导中调整表中图像的大小?,css,html,twitter-bootstrap,Css,Html,Twitter Bootstrap,我希望表格中的图像能够调整大小。我该怎么做?以下是我的表格代码: <table class='table' border='2'> <tr> <td class='click go0' id='1'><img src='../images/null.png'></td> <td class='click go0' id='2'><img src='../images/null.p

我希望表格中的图像能够调整大小。我该怎么做?以下是我的表格代码:

<table class='table' border='2'>
    <tr>
        <td class='click go0' id='1'><img src='../images/null.png'></td>
        <td class='click go0' id='2'><img src='../images/null.png'></td>
        <td class='click go0' id='3'><img src='../images/null.png'></td>
        ...
    </tr>
    ...
</table>

...
...

在bootstrap站点上,它说表没有响应。您必须将它们放入其他内容中才能使其响应。

引导表在默认情况下不响应,但有一些选项可以绕过此限制


答案可能对您有用。

您可以尝试以下方法

table.table td img{
    width: 100%;
    height: auto;
}

我试着给图片一个宽度,给表格一个类表格,你是怎么做到的?(显示一些代码)菲比,你的代码中没有任何东西表明你试图调整图像的大小。你在用CSS吗?jQuery?Voodoo?引导应该自动调整图像大小,但它不会像在表格中那样缝合。