Home >Web Front-end >CSS Tutorial >Solution to firefox background-image vertical tiling problem_Experience exchange

Solution to firefox background-image vertical tiling problem_Experience exchange

WBOY
WBOYOriginal
2016-05-16 12:05:172340browse

ffbelow

Copy code The code is as follows:

background-image:url( "main_bg.gif");
background-repeat: repeat-y;


Height must be specified to display
However, in most cases, the height is dynamic, so
Set the following

Copy code The code is as follows:

overflow:auto;

Statement:
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
Previous article:CSS Basics (Summary)Next article:CSS Basics (Summary)