【发布时间】:2009-08-20 13:06:57
【问题描述】:
我试图让我的 div 成为我的内容的宽度,我可以让它在除 IE 之外的所有其他浏览器中工作,使用:
div#quoteHolder {
height: 85px;
display: inline-block;
}
有谁知道如何在 IE 中解决这个问题?
哦,这是 html 代码..
<div id="quoteContainer">
<div id="quoteHolder">
<h2>"If you were lucky and lived in Port Melbourne, it might even be your local"</h2>
<h3>The Age, Epicure. JUNE 22nd 2004</h3>
</div>
</div>
【问题讨论】:
-
[另一种解决方案][1] [1]:stackoverflow.com/questions/1304037/…
标签: css internet-explorer html