开发者

Can't override margin-right styling [closed]

开发者 https://www.devze.com 2023-03-18 22:41 出处:网络
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time,or an extraordinarily narrow situation that is not generally applic
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. Closed 11 years ago.

I'm modding an image slider and can not figure out how to override the 10px right margin. You'll see the gap on the left edge of slide 2. Thanks for any help.开发者_开发百科

http://robtaylor.frmboy.com/

Jason


In your style.css file line 8:

.jcarousel-skin-default .jcarousel-item-horizontal {margin-left: 0;margin-right: 10px;}

Just remove margin-right rule or set it to 0.


why don't you add the following css in your page:

.jcarousel-skin-default .jcarousel-item-horizontal {margin-right:0;}

I tried it and it works!

0

精彩评论

暂无评论...
验证码 换一张
取 消