How to resize the picture as the list icon correctly

topic description

Why my list icon picture is not getting smaller, and the list content is still mixed. There are originally three pictures, and the list contents are coffee, tea and Coca-Cola

.

sources of topics and their own ideas

related codes

/ / Please paste the code text below (do not replace the code with pictures)
< html >
< head >
< style type= "text/css" >
ul li {list-style-image: url ( https://timgsa.baidu.com/timg.;
width:10px;
height:10px;
}

< / style >
< / head >

< body >


  • Coffee

  • Tea

  • Coca-Cola

< / body >

< / html >

what result do you expect? What is the error message actually seen?

clipboard.png

Mar.29,2021

The picture of the

list icon cannot set width and height.

the 10px you set is the width and height of the list item.

The size of

10 * 10 has no room for coffee.

you can find a picture with a size of 10 to 10 as your list icon.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eaa6d5-1fd3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eaa6d5-1fd3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?