0

5 つ星の評価スクリプトのスタイルを設定しようとしていますが、何も思いつきません。問題は、5 つの透明な星の背後の色が、何を変更しても白のままであることです。

テーブル参照background-color:blackを変更するだけでなく、インラインも試しました。bgcolor何も機能していないようです。

サンプルはこちらから入手できます

The white section behind the stars is the one that I'd like to make transparent so that it picks up the color of the TD cell (#D3DCE3).

The supplied CSS is here

I've tried changing background color for each of these elements in the CSS to black and it does not appear to impact the color of the background of the stars.

Any recommended changes would be helpful.

Thanks!

4

2 に答える 2

2

星の背景は画像の一部です。これはブロッククオートの星の 1 つです。白い背景を見ることができます。

星

背景を変更するには、画像を変更する必要があります。CSS は画像の色を変更できません。

于 2013-05-16T15:04:55.507 に答える
0

背景色を変更できない理由は、白が画像の一部であるためです。pngなのに背景が真っ白。背景が透明な png を試してください。

于 2013-05-16T15:05:01.470 に答える