Home >Web Front-end >HTML Tutorial >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
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
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.