看到這裏我的網站http://1-dot-speaklikewater.appspot.com如何在這種情況下使文字像徽標?
和代碼
<img style="vertical-align: middle;" src="speaklikewaterlogo.png" />
<a href='index.jsp' class='linkButton' >Home</a>
.linkButton:link, .linkButton:visited {
background-color: white;
color: black;
border: 2px solid green;
padding: 7.5px 15px;
text-align: center;
text-decoration: none;
display: inline-block;
}
.linkButton:hover, .linkButton:active {
background-color: green;
color: white;
}
這沒關係,但圖像質量不是很好,因爲當用戶放大圖像模糊得到的頁面。
不,我不想使用圖像作爲徽標。我想用徽標來使用Text
。
你可以做像上面的網站完全相同的東西,但這次我們使用Text
而不是徽標圖像。所以它應該看起來像這樣,但「家」的中間和文本標識的中間應該在同一行上?
SpeakLike Water.com Home ...
我們能做到嗎?