简体   繁体   中英

IE7 sibling div width not same as sibling

I am struggling with fixing an IE7 issue. I want my sibling div to be the same width as it's siblings. The first sibling acts as the header while the other siblings have certain dimensions. I could use some advice.

http://jsbin.com/etuxum/19/edit

Thanks

Try:

.rateSection {
float: left;
margin-right: 0px;
width: 100%;
}

Notice margin-right: 0px; The blue background is aplied to the

if you add background-color:#999; to .rateSection you get what you want

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM