IE 和移动 Safari 截断文本..可能是行高问题?
我的页面可以在 Chrome、Safari、Firefox 和 Opera 中正确(且美观)显示,但在 Internet Explorer 和 iPhone 的 Safari 移动版本中稍微重新格式化。具体来说,它的格式仅比可见区域大一点,从而导致文本被截断。可能是行高问题。有什么解决办法吗?当我们这样做时......IE 的文本看起来如此尴尬是怎么回事?我是新手..他们不支持Helvetica??
非常感谢所有建议。
截屏: http://img163.imageshack.us/i/ieformat.png/
HTML:
<div id="bio_left">
<p class="justify">People often say it's hard to describe the sound of his records and categorizing him often presents an even bigger challenge, but what is truly undeniable and inarguable is that Fernando Garibay is a hit-making producer, DJ and artist. As multi-instrumentalist who plays guitar, keyboards, drums, bass, a formally trained arranger for string and brass sections and a programmer, with a proficiency that rivals top session players but with a uniqueness that only a seasoned "artist" producer yields, he is able to communicate through music unlike anyone else.</p>
</div>
CSS:
.text {
font-family:Helvetica, Arial, sans-serif;
font-size:12px;
color:#202024;
line-height:120%;
}
I've got a page that displays properly (and beautifully) in Chrome, Safari, Firefox, and Opera, but very slightly reformats in Internet Explorer and iPhone's mobile version of Safari. Specifically, it's formatting just a little larger than the visible area, resulting in cut off text. It might be a line-height issue. Is there any solution for it? And while we're at it.. what's up with IE's text looking so awkward? I'm a newbie.. they don't support Helvetica??
All suggestions greatly appreciated.
Screenshot:
http://img163.imageshack.us/i/ieformat.png/
HTML:
<div id="bio_left">
<p class="justify">People often say it's hard to describe the sound of his records and categorizing him often presents an even bigger challenge, but what is truly undeniable and inarguable is that Fernando Garibay is a hit-making producer, DJ and artist. As multi-instrumentalist who plays guitar, keyboards, drums, bass, a formally trained arranger for string and brass sections and a programmer, with a proficiency that rivals top session players but with a uniqueness that only a seasoned "artist" producer yields, he is able to communicate through music unlike anyone else.</p>
</div>
CSS:
.text {
font-family:Helvetica, Arial, sans-serif;
font-size:12px;
color:#202024;
line-height:120%;
}
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论