jasonc Posted January 28, 2010 Share Posted January 28, 2010 as the title says i wish to add a bullet point to my span class, what is the correct method to do this. Quote Link to comment https://forums.phpfreaks.com/topic/190090-wish-to-add-a-bullet-point-to-class-as-li-ul-ol-are-not-possible-choices/ Share on other sites More sharing options...
ignace Posted January 28, 2010 Share Posted January 28, 2010 <span class="bullet">text with a bullet</span> .bullet { background-image: url(images/bullet.gif); background-repeat: no-repeat; background-position: center; padding-left: 20px; } For semantics sake you should be using a LI Quote Link to comment https://forums.phpfreaks.com/topic/190090-wish-to-add-a-bullet-point-to-class-as-li-ul-ol-are-not-possible-choices/#findComment-1002945 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.