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:

http://jsfiddle.net/hgymt/

base on demo page : http://sorgalla.com/projects/jcarousel/examples/static_simple.html

because can't modify css files, use important, idea same.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -