Skip navigation
Currently Being Moderated

Trouble getting banner rotator control buttons to line up. Please help!

Aug 7, 2012 7:45 AM

Hi guys,

 

I had some help making a banner rotator and it all works fine but I can't get the control buttons to line up with each other properly.

 

You can check my example by clicking here.

 

Basically the left and right control arrows should align with the lights. Does anyone know how I can get them to line up?

 

Thank you,

 

S

 
Replies
  • Currently Being Moderated
    Aug 7, 2012 8:03 AM   in reply to Spindrift

    Try adjusting the top-margin on your prev and next css.

     

    .prev {

        background: none no-repeat scroll 0 0 transparent;

        background-image:url(http://spindriftmedia.com/banners/images/prev.png);

        cursor: pointer;

        float: left;

        height: 13px;

        margin: 20px 14px 0 0;

        text-indent: -9999em;

        width: 8px;

    }

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 7, 2012 8:37 AM   in reply to Spindrift

    Spindrift wrote:

     

    I tried what you said and it kind of worked but I more want to bring the <ul> up to the level of the arrows, rather than giving the arrows a top margin to bring them down, if that makes sense. I want the black box to be a thin strip.

     

    Any other ideas?

     

     

     

     

     

    Add margin: 0; to your 'banner-rotation ul' css selector (as shown below)

     

     

     

    .banner-rotation ul {

        float: left;

        padding: 1px 0 0;

        width: 148px;

    height:11px;

    margin: 0;

    }

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points