开发者

How to avoid linebreak in Safari?

开发者 https://www.devze.com 2023-01-22 22:27 出处:网络
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.

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

精彩评论

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