.treat-desc-box{ float: left; width: 0; overflow: hidden; } .drug-desc-wrapper { height: 100%; overflow-y: auto } .drug-desc-title { height: 40px; line-height: 40px; border-bottom: 1px solid #e0e2e4; padding-left: 20px; width: 260px; position: absolute; background: #fff; top: 0px; margin-left: -20px; } .recommend-title, .drug-title { padding: 30px 0 15px 20px; width: 240px; } .drug-desc-item { padding: 0 0 0 20px; line-height: 26px; width: 240px; } .close-drug-desc { position: absolute; right: 0px; } .similar-drug-box { display: none; } .similar-drug { position: absolute; padding-top: 40px; overflow-y: auto; width: 260px; left: 680px; height: 100%; top: 0; background: #fff; padding: 60px 20px 80px; } .drug-name-box { display: inline-block; height: 30px; } .drug-name { border-bottom: 1px solid #666; display: inline-block; cursor: pointer; } .info-img { width: 12px; margin: 0 3px -1px; } .info-flag { display: inline-block; width: 34px; height: 16px; line-height: 16px; border-radius: 4px; text-align: center; } .drug-desc-class-title { display: inline-block; width: 210px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }