Grow your CSS skills. Land your dream job.

Images over lapping

  • # April 12, 2013 at 12:30 am

    Hello I have quite big images for my home page on a carousel but would like to know how to make them have better spacing I know its some thing to do with widths/margins but jave tried different places to put it not to sure where though. image width 268×399

    .jcarousel-skin-opencart .jcarousel-container {
    background: #FFF;
    margin-bottom: 20px;
    }
    .jcarousel-skin-opencart .jcarousel-direction-rtl {
    direction: rtl;
    }
    .jcarousel-skin-opencart .jcarousel-container-horizontal {
    padding: 0px 40px;
    }
    .jcarousel-skin-opencart .jcarousel-clip {
    overflow: hidden;
    width: 100%;
    }
    .jcarousel-skin-opencart .jcarousel-clip-horizontal {
    }
    .jcarousel-skin-opencart .jcarousel-item {
    text-align: center;
    }
    .jcarousel-skin-opencart .jcarousel-item-horizontal {
    margin-left: 0;
    margin-right: 10px;
    }
    .jcarousel-skin-opencart .jcarousel-direction-rtl .jcarousel-item-horizontal {
    margin-left: 10px;
    margin-right: 0;
    }
    .jcarousel-skin-opencart .jcarousel-item-placeholder {
    background: #fff;
    color: #000;
    }
    /**
    * Horizontal Buttons
    */
    .jcarousel-skin-opencart .jcarousel-next-horizontal {
    position: absolute;
    top: 23px;
    right: 5px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    background: url(‘../image/button-next.png’) center no-repeat;
    }
    .jcarousel-skin-opencart .jcarousel-direction-rtl .jcarousel-next-horizontal {
    left: 5px;
    right: auto;
    background: url(‘../image/button-previous.png’) center no-repeat;
    }
    .jcarousel-skin-opencart .jcarousel-next-horizontal:hover, .jcarousel-skin-opencart .jcarousel-next-horizontal:focus {
    }
    .jcarousel-skin-opencart .jcarousel-next-horizontal:active {
    }
    .jcarousel-skin-opencart .jcarousel-next-disabled-horizontal, .jcarousel-skin-opencart .jcarousel-next-disabled-horizontal:hover, .jcarousel-skin-opencart .jcarousel-next-disabled-horizontal:focus, .jcarousel-skin-opencart .jcarousel-next-disabled-horizontal:active {
    cursor: default;
    background: none;
    }
    .jcarousel-skin-opencart .jcarousel-prev-horizontal {
    position: absolute;
    top: 50px;
    left: 0px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    background: url(‘../image/button-previous.png’) center no-repeat;
    }
    .jcarousel-skin-opencart .jcarousel-direction-rtl .jcarousel-prev-horizontal {
    left: auto;
    right: 0px;
    background: url(‘../image/button-next.png’) center no-repeat;
    }
    .jcarousel-skin-opencart .jcarousel-prev-horizontal:hover, .jcarousel-skin-opencart .jcarousel-prev-horizontal:focus {
    }
    .jcarousel-skin-opencart .jcarousel-prev-horizontal:active {
    }
    .jcarousel-skin-opencart .jcarousel-prev-disabled-horizontal, .jcarousel-skin-opencart .jcarousel-prev-disabled-horizontal:hover, .jcarousel-skin-opencart .jcarousel-prev-disabled-horizontal:focus, .jcarousel-skin-opencart .jcarousel-prev-disabled-horizontal:active {
    cursor: default;
    background: none;
    }

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".