Here is a screenshot to understand. I am trying to find a reliable way to make bullet images vertically aligned with my li content. As you can see, my content is currently too high.
Thank you very much for the flowers ...
http://dl.getdropbox.com/u/240752/list-example.gif
Ok, some css code to see how you are currently setting your bullet images would be helpful; -)
"list-style-image" background-image li. . , .
@bryn . , :
#content ul li { margin: 3px -20px 3px 20px; padding: 0 0 0 0; list-style: none; background: url(newbullet.gif) no-repeat 0 3px; }
. . ( - 14 15.) , , , Firefox IE .
You can use something like this in your css ...
#content li{ list-style-image: url(../images/bullet.gif); }
use a background image, for your li elements, add an addition.
.box li{ padding-left: 20px; background-image: url("img/list_icon.jpg"); background-repeat: no-repeat; background-position: 0px 2px; margin-top: 6px; }
Source: https://habr.com/ru/post/1698467/More articles:How to create a string representing Java as if it were an unsigned 64-bit value - javaHow fast is php_uname ()? - optimizationWhat is the best way to determine which server hosts the script and therefore in PHP? - phpHow to get the parameters in the order entered by the user using Perl Getopt :: Long? - perlGetting a language for non-Unicode programs - c #Flex event DRAG_DROP - is it possible to access image movement? - flexHow do you display notifications on the taskbar? - c #how to generate unit test code for methods - pythonC ++ template function overload - c ++Read image from Access DB in PictureBox - c #All Articles