c# - How can I make jCarousel to have width 100% instead of specifing in px? -
i working on asp.net , jquery. tried many carousel need specify width in px. doing website looks abnormal on different resolution. how can make occupy whole width available it?
has 1 know other plugin easy , support function?
you can remove width on container , set clip 100% on css as:
.jcarousel-container-horizontal { /* width: 275px; <--- remove */ } .jcarousel-clip-horizontal { width: 100%; /*<-- set 100%*/ height: 75px; }
example:
base on demo page : http://sorgalla.com/projects/jcarousel/examples/static_simple.html
because can't modify css files, use important, idea same.
Comments
Post a Comment