style sheet banner buttons

Discussion in 'HTML & Website Design' started by unknown34, Oct 1, 2011.

  1. #1
    I have a banner rotating with 4 pictures I have this in my style sheet

    .bannerbuttons #tab1 {background: url(images/cellshade.png) 0px 0;}
    .bannerbuttons #tab1:hover {background: url(images/cellshade.png) 0px 0;}
    .bannerbuttons #tab2 {background: url(images/cellshade.png) -20px 0;}
    .bannerbuttons #tab2:hover {background: url(images/cellshade.png) -20 0;}
    .bannerbuttons #tab3 {background: url(images/cellshade.png) -40px 0;}
    .bannerbuttons #tab3:hover {background: url(images/cellshade.png) -40px 0;}
    .bannerbuttons #tab4 {background: url(images/cellshade.png) -60px 0;}
    .bannerbuttons #tab4:hover {background: url(images/cellshade.png) -60px 0;}
    Code (markup):
    But it only shows the pictures no hover to show which tab your on or anything.
     
    unknown34, Oct 1, 2011 IP
  2. workingsmart

    workingsmart Well-Known Member

    Messages:
    411
    Likes Received:
    12
    Best Answers:
    9
    Trophy Points:
    120
    #2
    You haven't stated what the problem or issue is.... Can't help you if you don't state what you are attempting to accomplish.
     
    workingsmart, Oct 2, 2011 IP
  3. karthimx

    karthimx Prominent Member

    Messages:
    4,959
    Likes Received:
    127
    Best Answers:
    2
    Trophy Points:
    340
    #3
    Its not clear, do you have live demo page to show?
     
    karthimx, Oct 2, 2011 IP
  4. unknown34

    unknown34 Peon

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    http://www.freefrag.com If you take a look on this page on the banner you will see the first number is clicked on, my site does not do the same it only shows the tabs without hovering to say which tabs your on.
     
    unknown34, Oct 2, 2011 IP
  5. seopowers

    seopowers Greenhorn

    Messages:
    97
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #5
    what do u know i am not getting your point
     
    seopowers, Oct 3, 2011 IP
  6. unknown34

    unknown34 Peon

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    On the banner rotate the pictures have the little tabs on the bottom, when you click on one of those tabs, you know which tab your hovered on, my site does it does not shows which tab your hovered on, with the code I am asking how can I get that to work.
     
    unknown34, Oct 3, 2011 IP