CSS implements code with a different number of news lines
Source: Internet
Author: User
I thought this was done by the backend alone. Today, we can see that this effect is actually implemented by CSS. Put it here to share with you <textarea id="runcode3025"><Br/> <style> <! --. Title {font-size: 14px; font-weight: bold; color: # ff6600 }. t0 {margin: 3px; padding: 3px; List-style-type: none; line-Height: 16px ;}. t1 {font-size: 14px; margin-Right: 5px; Height: 16px; float: Left; white-space: nowrap} // --> </style> <p> <! -- Subject --> <br/> <fieldset style = "width: 400px; float: left; "> <legend> <SPAN class =" title "> Special Recommendations </span> </legend> <ul class =" t0 "> <! -- Some code in the intermediate loop --> <li class = "T1"> 1. Add the script code to the favorites site, and use ajax/JS/asp/PHP all over the Internet. [recommended]! </LI> <li class = "T1"> 2. read novels! </LI> <li class = "T1"> 3. The most powerful Chinese search engine! </LI> <li class = "T1"> 4. script home, download center! </LI> <li class = "T1"> 5. Added Photoshop, Flash, and tutorials to favorites! </LI> <p> <! -- Tail code --> </ul> </fieldset> <p></textarea>
[Ctrl + A select all Note: If you need to introduce external JS, You need to refresh it to execute]
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service