外部样式OL LI的定义 影响到了富文本框内的UL LI的定义,使用内部样式对其还原

<style type="text/css">
#intro {
white-space: normal;
word-break: break-all;
overflow: hidden;
}
#intro ol {
float: none;
width: auto;
list-style-type: decimal;
padding: 0 20px;
}
#intro ol li {
float: none;
width: auto;
line-height: normal;
overflow: visible;
list-style-type: decimal;
list-style: decimal;
padding: 0 20px;
white-space: normal;
}
#intro ul {
float: none;
width: auto;
list-style-type: disc;
padding: 0 20px;
}
#intro ul li {
float: none;
width: auto;
line-height: normal;
overflow: visible;
list-style-type: disc;
list-style: disc;
padding: 0 20px;
white-space: normal;
}
</style>


<div id="personal-details" class="down-piece-last">
<div class="down-piece-pic"><a><img src="@Url.Content("~/Content/css_v2/provider/images/details.jpg")"></a></div>
<div class="down-piece-content" id="intro">
@Html.Raw(Model.IntroduceInDetail)
</div>
</div>

posted @ 2014-07-15 13:49  dapeng888  阅读(729)  评论(0编辑  收藏  举报