我设计一个网站,与每一页上的报价。我正在将CSS应用到此引用中,以使其看起来尽可能出色并脱颖而出。不过,我有几个问题。CSS行高度对齐问题
.quote {
font-size: 18pt;
padding-top: 50px;
padding-bottom: 15px;
text-align: center;
line-height: 0.25;
}
.speech_mark_large {
color: #203D69;
font-size: 120px;
vertical-align: top;
}
<div class="quote">
<span class="speech_mark_large">“</span> Leading the way with innovative design of corrugated Point of Sale displays and packaging offering bespoke design to fulfill your brief.
<span class="speech_mark_large">”</span>
</div>
同样在JSFiddle。
我要报价的两行要紧密联系起来,但是当我申请一个线高度,解决这个问题,它推动了讲话标志着成前行。我该如何解决这个问题?
过帐的jsfiddle是伟大的,但也请在这里发表的代码,所以万一的jsfiddle永远消失了,这个问题仍然有用它自己的。 – 2012-04-08 15:36:40