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
<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>
li.pic{background:url('5.jpg') left center no-repeat;padding-left:20px}