Home  >  Article  >  Web Front-end  >  The effect has been achieved, but for fixed width, if I want to use 100% definition, the picture cannot be displayed. _html/css_WEB-ITnose

The effect has been achieved, but for fixed width, if I want to use 100% definition, the picture cannot be displayed. _html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:16:081179browse

Style name in css: .homepage-slider-item: 1900px; I want to make it adaptive: 100%
But the photo cannot be displayed.
See http://download.csdn.net/detail/chxpsy/4681834 for the style


Reply to discussion (solution)

Add min-width

Adding min-width
is useless. Let me add the solution I want to change: a fixed 960px wide picture in the middle, and the left and right sides are part of the adjacent pictures 120px wide, that is, the carousel takes up a total of 1200px. For widescreen use background autofill.
Do you want to change js? Please tell me how to change it! feel!

Posted, no one answered. Change other styles yourself.

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