0

右侧边栏上有“订阅英语交流”字样的文字

现在这在 Firefox 上效果很好,但在 chrome 上却不行。在 Chrome 中,它确实订阅英语交流,并且 n 拆分到下一行,这很奇怪。

这是相关的CSS

.pane-subscription #edit-subscribe {
-ms-word-break: break-all;
word-break: break-word;
-webkit-hyphens: auto;
-moz-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
-webkit-appearance: none;
appearance: none;
margin: 10px 0 0 0;
padding: 5px 7px;
border: none;
width: 100%;
-ms-border-radius: 3px;
-o-border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}

知道我在哪里搞砸了吗?

4

1 回答 1

0

word-breakChrome还不支持hyphens。我建议您使用 a<br />或单独的div.

于 2013-11-11T10:35:53.947 回答