...

View Full Version : Need a help with css code



extremed
07-10-2011, 10:32 AM
Hi


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


.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

vikram1vicky
07-10-2011, 10:46 AM
share page link n where u r facing problem?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum