开发者

How to avoid linebreak in Safari?

I am using cforms plugin on a wordpress page.

Unfortunately "requi开发者_JS百科red" in Russian seems to be two words according to the translation office.

In Firefox it looks ok, in Safari it breaks to the bottom left of that line.

span.reqtxt,
span.emailreqtxt { 
 margin:2px 0 0 3px;
 font-size:0.9em;
  font-weight:bold;
  color:#0d5f99;
 display: -moz-inline-box; 
 vertical-align:top;
}

How to avoid linebreak in Safari?

How to fix this? Thank you!


Safari of course won't recognize "display: -moz-inline-box;". Both Firefox and Safari will accept "display: inline-box;" without a vendor prefix. That should fix it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜