Hi,
I am creating a web page which have a link with css class icon, something like below
// Markup code
<a href="mywebpage.php" class="lock_icon">Login</a
>
// CSS class code
.lock_icon {
background:url(/images/loc
k.png) no-repeat left;
padding-left:20px;
}
Now the above coding is working fine in Firefox 2.x, 3.x and in IE 7.x BUT its creating problem with IE 6.0 I have tried some png fixes but they are not able solve this problem, They all are solving the normal png's like if u have an img tag like following
// Markup
<img src="/images/lock.png" />
then they'll solve this in IE 6.0
But if u have png like above i have then they are unable to solve this....
Please tell me the solution, But one more thing i am not using jquery library, so give me any solution which is not using jquery, I am using yui api library so if anyone have code in simple javascript or in yui then do tell me
Thank,
Start Free Trial