1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Slider Width - Screen Resolutions

Discussion in 'HTML & Website Design' started by ultramel123, Apr 25, 2013.

  1. #1
    Hi there

    I designed a site in wordpress, and everything looked ok. Now it seems that my image slider is "narrower" on different screen sizes? Please can someone kindly take a look and advise me on a way to keep the image slider the same width as the white "sheet" of the page?

    Thank you so much

    .art-sheet {
            width: 65%;
            left: 105px;
            background: white;
            top: -30px;
     
    }
     
        Coin Slider jQuery plugin CSS styles
    */
     
     
    .coin-slider {
            overflow: hidden;
            zoom: 1;
            position: relative;
            left: -6px;
            width: 736px;
            height: 503px;
            top: -7px;
           
    }
     
     
    .coin-slider a {
            text-decoration: none; outline: none; border: none;
    }
     
    .cs-buttons {
            font-size: 0px; padding: 10px; float: left;
    }
    .cs-buttons a {
    margin-left: 5px;
    height: 10px;
    width: 10px;
    float: left;
    border: 1px solid #B8C4CF;
    color: #B8C4CF;
    text-indent: -1000px;
    }
     
    .cs-active {
    background-color: #B8C4CF;
    color: #FFFFFF;
    }
     
    .cs-title { width: 0px; padding: 10px; background-color: none; color: #FFFFFF; }
     
    .cs-prev,
    .cs-next { background-color: #000000; color: #FFFFFF; padding: 0px 10px; }
    Code (markup):

     
    ultramel123, Apr 25, 2013 IP
  2. frankmust

    frankmust Member

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    28
    #2
    your "white sheet" has a width:65% and your slider img has a fixed width/height so i would say if you want them to look always same width as your white sheet, you must set the slider img to width:100%;height:auto;
     
    frankmust, Apr 25, 2013 IP
  3. creativewebmaster

    creativewebmaster Active Member

    Messages:
    654
    Likes Received:
    7
    Best Answers:
    4
    Trophy Points:
    78
    #3
    Set slider width in pixel. May this work.
     
    creativewebmaster, Apr 26, 2013 IP