Li's simple application (change the previous point to an icon) _css/html
Source: Internet
Author: User
<textarea id="runcode67217"><! DOCTYPE HTML PUBLIC "-//w3c//dtd XHTML 1.1//en" "Http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" > <ptml xmlns= " Http://www.w3.org/1999/xhtml "> <pead> <title>li Simple application </title> <style type=" Text/css "> *{ margin:0;padding:0;} #test {width:300px; margin:5px;} #test ul li {margin:3px;/* for ie5.x*/margin/*\*/:1px; list-style-type:none; font:nor Mal normal normal? px/2em helvetica,arial, Verdana; border:1px #004080 Solid; Background: #fefefe url (' http://bbs.51js.com/images/smilies/icon1.gif ') no-repeat left center; padding-left:20px; } </style> </pead> <body> <ul> <li> Test list </li> <li> Test List </li> < li> Test List </li> <li> Test list </li> </ul> </body> </ptml></textarea>
[Ctrl + A full selection Note: If you need to introduce external JS need to refresh 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