I don't know what the language problem is with this web page. Want to learn. . Please advise! _html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:17:48
Original
983 people have browsed it


  •  




I only want to display one, but the result is full

What to do?



Reply to discussion (solution)


  •  <li style="background-image: url(http://fanyi.baidu.com/asset/fanyi-logo.png); padding-bottom: 3px; line-height: 16px; background-color: transparent; list-style-type: none; margin: 0px; padding-left: 10px; padding-right: 10px; background-position: 0% 7px; padding-top: 3px; background-origin: initial; background-clip: initial;background-repeat:no-repeat    ;"> </li></ul>?
    Copy after login

One sentence missing: background-repeat:no-repeat;
================ ====
In fact, you can merge it into a background attribute:
background:transparent url('http://fanyi.baidu.com/asset/fanyi-logo.png') no-repeat;

Please refer to here http://www.dreamdu.com/css/property_background/

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template