2012-08-04 76 views
0

我需要一個200px x 200px的按鈕大小,中心的圖標(水平和垂直)。 我可以創建200px x 200px的大小,並使用我的個人圖標。JQM:center/align圖標

enter image description here

我的問題是:!

  • 我該如何在圖標中水平和垂直放置按鈕?

如果有人能幫助我,我會非常感激。

乾杯,

蒂莫

回答

0
<head> 
<style type="text/css"> 
<!-- 
a{ 
    line-height: 600px; 
    } 
--> 
     </style> 
    </head> 
    <body> 
<a data-corners="false" href="index.html" data-role="button" data-icon="customized" 
      data-iconpos="top" id="start-button" 
      data-theme="a">LIVINGROOM</a> 

</body> 
</html> 

問題仍然是,如何在水平和垂直居中的圖標。或如何在所有的圖標....

+0

定位<風格類型= 「文/ CSS」> < - 的.ui-圖標green5 { 背景圖像:網址(green_05_64x64.png); } .ui-icon background-color:transparent; width:64px; height:64px; margin-top:150px; margin-left:150px; } - > – Timo11 2012-08-08 20:50:12