看我有这个代码:
CSS:
<style>
span#logo {
height: 80px;
width: 222px;
background: url(img/logo.png);
/* If I take out this it would give my span 0x0px size */
float: left;
}
</style>
HTML:
<span id="logo"></span>
为什么会发生?为什么我需要有浮子才能让它有形状?