Home > Web Front-end > HTML Tutorial > Third-party text box displays preview in div so that specified nodes are not affected by external css_html/css_WEB-ITnose

Third-party text box displays preview in div so that specified nodes are not affected by external css_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:27:48
Original
1339 people have browsed it

For example, in the rich text box ol li

But we often do not display the previous numbers in the global style, but when entering the rich text box, we need to display it, but

will not be displayed in the div. We add a specified style to the preview page and then add !important

. For example:

<style type="text/css">    ol li    {        list-style-type: decimal !important;    }</style>
Copy after login

Then this page will display a list of numbers

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template