我試圖創建一個圖像翻轉按鈕來放置在一個php文件中。下面的CSS是...現在我將使用什麼PHP腳本來顯示按鈕?如何使用php和css創建圖像翻轉鏈接
#quotebutton {
position: fixed;
display: block;
width: 147px;
height: 35px;
left: 830px;
top: 400px;
background-image: url ("http://sickwebmedia.com/wp-content/themes/gridportfolio/images/get-a-quote.png");
background-repeat: none;
}
#quotebutton a:hover {
position: fixed;
display: block;
width: 147px;
height: 35px;
left: 830px;
top: 400px;
background-image: url("http://sickwebmedia.com/wp-content/themes/gridportfolio/images/get-a-quote-over.png");
background-repeat: none;
}
CSS適用於HTML,而不是PHP ... –