リストマークを画像で表示する方法?
-
リストマークを画像で表示する方法をお教え願います。
<php><div id="blglist"> <ul> <?php $posts = get_posts('numberposts=5'); global $post; ?> <?php if($posts): foreach($posts as $post): setup_postdata($post); ?> <li> <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li> <?php endforeach; endif;?> </ul> </div>
<css>
#blglist li{ list-style: none; background-image: url(img/blglist.png); background-repeat: no-repeat; background-position: 0px 3px; }
どうぞ,よろしくお願いいたします。
1件の返信を表示中 - 1 - 1件目 (全1件中)
1件の返信を表示中 - 1 - 1件目 (全1件中)
- トピック「リストマークを画像で表示する方法?」には新たに返信することはできません。