Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/89.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
Html 如何在wordpress中创建具有图像和响应性的表格_Html_Wordpress_Responsive Design_Html Table - Fatal编程技术网

Html 如何在wordpress中创建具有图像和响应性的表格

Html 如何在wordpress中创建具有图像和响应性的表格,html,wordpress,responsive-design,html-table,Html,Wordpress,Responsive Design,Html Table,我试图在我的wordpress博客中添加一个包含几行的简单表格,每行有3列 <table> <tbody> <tr> <td><img src="http://www.alidimare.net/images/loveIs/01.jpg" alt="Love Is"/></td> <td><img src="http://www.alidimare.net/images/loveIs/07.jpg" alt

我试图在我的wordpress博客中添加一个包含几行的简单表格,每行有3列

<table>
<tbody>
<tr>
<td><img src="http://www.alidimare.net/images/loveIs/01.jpg" alt="Love Is"/></td>
<td><img src="http://www.alidimare.net/images/loveIs/07.jpg" alt="Love Is"/></td>
<td><img src="http://www.alidimare.net/images/loveIs/02.jpg" alt="Love Is"/></td>
</tr>

我尝试使用Magic Liquiditer responsive和tablepress responsive插件使其具有响应性。结果并不正确,因为即使表格被放入一列中,图像的大小仍然很小


请让我知道如何解决这个问题

您需要图像100%地拍摄其容器(td),以便添加

img{
    width: 100%
}

使用此表格将适应宽度

您需要验证是否加载了任何其他css文件(您的主题)覆盖了图像css,只需检查并验证。。您可能需要定制一些css。。 您可以尝试添加“!重要;”


有没有小提琴之类的东西让我们看看是什么问题?这是我的帖子,我无法回复@dingo_d
table td img{
    width: 100% !important;
}