2013-03-10 39 views
0

我試圖把一個影子定義爲彈出面板下如下:我如何陰影下XUL彈出面板

<popupset id="mainPopupSet"> 
    <panel id="autoTagBookmarksPopup" noautohide="true" fade="none" backdrag="true" level="float"> 
     <hbox id="titleBox"> 
      <spacer flex="1"/> 
      <image id="closeImage" align="end"/> 
     </hbox> 

... 我是不是成功的與:箱 - 影

任何一個有建議嗎?

+0

這裏:http://www.xul.fr/en/css/box-shadow.php – linguini 2013-03-14 20:32:03

+0

http://stackoverflow.com/questions/623609/can -i-have-an-xul-panel-without-a-shadow-in-my-firefox-extension – linguini 2013-03-14 20:36:43

+0

http://code.ohloh.net/file?fid=4wjk7x_4Un7zQTxqquOTMKdIQww&cid=wZKBjpj2Txs&s=&browser=Default#L0 – linguini 2013-03-14 20:37:04

回答

0

可以粘貼,你是使用的box-shadow的CSS?

嘗試......

-moz-box-shadow: 3px 3px 4px #000; 
-webkit-box-shadow: 3px 3px 4px #000; 
box-shadow: 3px 3px 4px #000; 

/* For IE 8 */ 
-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000')"; 
/* For IE 5.5 - 7 */ 
filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000'); 
+0

嘗試過兩者: '#autoTagBookmarksPopup { height:200px; width:400px; -moz-box-shadow:default; box-shadow:10px,10px,5px,black; border-style:solid; border-width:1px; -moz-border-bottom-colors:aqua; -moz-border-top-colors:aqua; -moz-border-left-colors:aqua; -moz-border-right-colors:aqua; border-radius:4px; border-bottom-right-radius:15px; border-bottom-left-radius:15px; /* padding:300px,300px,300px,300px; */ /* margin:100px,100px,100px,100px; */ background-color:white; /*不透明度:0.95; */ }' – Shay 2013-03-11 07:22:02

+0

#mainPopupSet {箱陰影:10px的,#000} – 2013-03-11 18:47:02

+0

試了媒體鏈接。 仍然沒有結果。 – Shay 2013-03-12 08:14:39