1

So I have a grid in Zkoss with a certain amount of columns. One the first row I place two labels which fill the first two columns (as expected).

I've written their style so that they don't have change color when you hover the mouse over them however one of the columns label is much bigger than the other and when I hover the mouse over the smaller label the area around which isn't filled by the text goes to white.

ZKFiddle example

I'm going insane around this as I'm simply unable of making that area have the same background as the label.

4

1 に答える 1

1

重複した質問ですでに述べたように。

CSS が責任を負い、開発者ツールで検索するだけで済みます。

このフィドルの更新には2 分かかりました。

変更点:

.z-row:hover > .z-row-inner, .z-row:hover > .z-cell {background:red; !important}
于 2015-12-21T13:11:41.660 に答える