We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 5338
    • 35 Posts
    Deepkey, I have the same problem!

    Can you tell me what mod did you make to DropMenu snippet to correct this bug?

    Thanks in advance!
      • 7455
      • 2,204 Posts
      its not a bug you van call 2 styles in one call
      
      so <span class="style1 style2">
      
      will asign the span tag with 2 styles first it will look at the .style1 in the css and then it will take alook at style2 in css
      
      its nice this way so you could have a .here classe for all the buttons but when you need a special style for the last button then you just add a style to you stylsheet called .last and that button will be first styled like .here and then get posible chages made by the style .last
      
      great for horizontal menu's that need a diff. style for the first and the last item but generaly must look the same as the rest.
      
      e.g.
      
      #footer ul.topnav li.here{
      text-decoration:underline;
      border-right:1px solid #000 /*creates a delimitter*/
      padding-left:0px
      }
      
      #footer ul.topnav li.last{
      border:none              /*no need for a delimitter*/
      }
      


      it still has the padding and the underline for the last item but it removes the border its not needed for the last
      if .here was not use togetter with .last then you would need to create much more css.

      hope this explanes a bit

      Dimmy
        follow me on twitter: @dimmy01