在我的網站的移動主題中,應該有一個帶有文本右側的圖片,它們都鏈接到父級菜單。然而,我無法調整文字高度(應該是在畫面的中心高度,但文字出現在圖片的底部,看到的圖片:設置文本右側的圖片,鏈接到圖片中間的同一頁面
(左電流,右因爲它應該是)
我現在的文件:
在HTML:
<div id="topbar">
//<div id="title">Über</div>
//<div id="bluerightbutton"><a href="/m/language.html">More</a></div>
<div id="leftnav"><a href="/m/de/futuristic-os">futuristicOS</a></div>
</div>
和css:
#leftnav a:before{content:url("../images/leftback.png");}
#leftnav a:first-child{z-index:2; padding-bottom: 50%; width:auto}
#leftnav a{z-index:3;margin-left:-4px;border-width:0 5px 0 13px;padding-right:4px;float:left}
提前感謝! –