BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
<code>
menu.Add(new MenuJson { pid = 1, mtext = "India", parent = null, sprite = "flag-in" });
</code> |
<code>
[class^="flag-"],
[class*="flag-"] {
background-image: url("../Content/images/Menu/flags.png");
height: 14px;
left: 2px;
top: 4px;
width: 24px;
}
.flag-in {
background-position: -125px -30px;
}
</code> |
<code>
menu.Add(new MenuJson { pid = 1, mtext = "India", parent = null, sprite = "flag-in" });
</code>
|
<style>
.flag-in {
background-image: url("../Content/images/Menu/en_IN_flag.png");
background-position: -126px -30px;
height:13px;
width:18px;
}
</style> |
<code>
menu.Add(new MenuItem { id = 1, mtext = "India", parent = null,
imageURL = "../Content/images/Menu/en_IN_flag.png" });
</code> |