TABLE中的不需要的行空间 [英] Unwanted row space in TABLE
问题描述
我有一个包含分段图片的表格。由于在图片的某些部分上添加了鼠标悬停效果,因此图片被分段。
虽然独立版本没问题,但当集成到 WordPress
作为侧栏 HTML
代码时,变得杂乱( cell-padding
更改)。因为我不能控制父控件(这里 DIV
)如何覆盖父 CSS
从我的 HTML
代码(不更改 WordPress
侧栏 PHP
代码)。
I have a table which contains a segmented picture. Picture is segmented due to adding mouse over effect on some parts of picture.
Although the stand-alone version is OK, when integrated to WordPress
as a side bar HTML
code, becomes messy (cell-padding
changes). Since I have no control over the parent control (here a DIV
) how can I override parent CSS
from my HTML
code (without changing WordPress
side-bar PHP
code).
感谢
推荐答案
line-height:21px; 。删除它看起来不错。
There is a line-height: 21px;
in your stylesheet. Remove that it looks good.
这篇关于TABLE中的不需要的行空间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!