HTML CSS examples for CSS Widget:Image
UL LI for clickable bullet images
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> body,a { color:Chartreuse; } #pagebox {<!-- w ww .j a v a 2s . co m--> width:1301px; background:yellow; } #pagebox li { line-height:2.6em; list-style-type:none; } #pagebox ul li img, ul li ul li img { vertical-align:text-bottom; } #pagebox ul li ul { padding:0 0 0 21px; } .bullet { background:blue url('https://www.java2s.com/style/demo/Google-Chrome.png') no-repeat 3px 6px; display:block; padding:0 0 0 21px; } </style> </head> <body> <div id="pagebox"> <ul> <li> <a href="#" class="bullet"> <em>Lorem ipsum d</em> </a> <ul> <li> <a href="#" class="bullet">Lorem ipsum dolor sit</a> </li> <li> <a href="#" class="bullet">Lorem ipsum dolor sit amet, conse</a> <br> </li> <li> <a href="#" class="bullet">Lorem ipsum dolor sit amet, consectetur adipiscing elit. </a> <br> </li> </ul> </li> </ul> </div> </body> </html>