Home > Web Front-end > HTML Tutorial > Regarding using pictures to make bullet points in an unordered list, how come it looks like this when I make it? _html/css_WEB-ITnose

Regarding using pictures to make bullet points in an unordered list, how come it looks like this when I make it? _html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:51:34
Original
1788 people have browsed it

<html>    <head>        <title>how to be proper</title>		<style type="text/css">			ul.pic{list-style-type:none;				   padding-left:0;				   margin-left:0;}			li.pic{background:url('5.jpg') left center no-repeat;}		</style>		    </head>    <body>		<ul class="pic">			<li class="pic">abcdefg</li>			<li class="pic">hijklmn</li>			<li class="pic">opqrstu</li>		</ul>    </body><html>
Copy after login


Reply to discussion (solution)

li.pic{background:url('5.jpg') left center no-repeat;padding-left:20px}

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