Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jun 2010
    Posts
    59
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Need a help with css code

    Hi

    Code:
    a.blackbutton span { margin:0; padding:7px 0 7px 19px; background:url(images/button_menu_left.gif) no-repeat top left;}
    How to write code equal to above code by reading image from a image sprite?


    this is the image sprite location for above image

    Code:
    .img_set_1 {
       background: url(../images/csg-4e1827fd5b201.png) no-repeat top left;
    }
    .img_set_1-button_menu_left{ background-position: 0 -256px; width: 19px; height: 29px; }
    Any help would be great


    Regards

  • #2
    Regular Coder
    Join Date
    Jul 2011
    Location
    India
    Posts
    496
    Thanks
    3
    Thanked 57 Times in 56 Posts
    share page link n where u r facing problem?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •