2012-06-06 62 views
0

我正在使用JqueryUI按鈕集。我需要爲butonset設置邊框樣式。JqueryUI按鈕集邊框樣式

.ui-buttonset .ui-state-default {border-radius:10px; -moz-border-radius:10px; -webkit-border-radius:10px; box-shadow:1px 1px 2px#e3e3e3; - moz-box-shadow:1px 1px 2px#e3e3e3; -webkit-box-shadow:1px 1px 2px#e3e3e3; behavior(url(PIE.htc);}

這似乎將樣式應用於單個單選按鈕而不是整個按鈕組。

+0

你在使用[ThemeRoller](http://jqueryui.com/themeroller/)嗎? – Blazemonger

+0

是的,我正在使用主題滾筒。但我需要在IE圓滑的邊緣,爲此,我使用css3pie(http://css3pie.com/) – Gabbar

回答

0

沒有看到您的HTML,我假設.ui-state-default包裝各個按鈕,並且.ui-buttonset包裝所有這些按鈕。如果從規則中刪除.ui-state-default,它應該執行你所需要的。

+0

這是我的HTML:\t \t \t \t \t \t \t \t \t \t

\t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t
Gabbar

+0

刪除的.ui狀態默認根本沒有應用這些效果。 – Gabbar