强制将列大小最小化 [英] force column size to smallest possible

查看:74
本文介绍了强制将列大小最小化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个表,里面有信息,最后一列中有一个填充函数的图标.我想知道是否可以迫使该列尽可能小(即与图标一样宽).目前,它在空白区域有相当一部分我无法摆脱.我尝试将宽度tp设置为1%和1px.我如何将其缩小?

I have a table with information in it and an icon in the last column that perfoms a function. I was wondering if it were possible to force that column to be as small as possible (i.e. as wide as the icon). Currently it has a fair bit on white space that i cant get rid of. I have tried setting the width tp 1% and 1px. How to i force it smaller?

谢谢

推荐答案

您的表格宽度设置为100%,不是吗?尝试在带有空白单元格的图标列之后添加另一列,看看这是否不会占用一些额外的宽度.

Your table width is set to 100%, no? Try adding another column after your icon column with blank cells and see if that does not take some of the extra width away.

这篇关于强制将列大小最小化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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