Pachman3000 Posted May 5, 2010 Share Posted May 5, 2010 Hey Guys, I'm using this CSS for my button rollovers. .lrollover a{ cursor:pointer; display:block; margin:auto; outline:0 solid transparent; text-indent:-9999px; } #l_button a { background:url("images/btn_login.png") no-repeat scroll left top transparent; height:32px; width:100px; } #l_button a:hover { background-position:left -32px; } I can't seem to get these rollovers to work for the submit buttons on my forms. I've been playing around with this <input type="submit" value="" class="lrollover" id="l_button"/> Any help would be awesome! Quote Link to comment Share on other sites More sharing options...
F1Fan Posted May 5, 2010 Share Posted May 5, 2010 Your classes are for <a> tags only, hence ".lrollover a". Quote Link to comment Share on other sites More sharing options...
Pachman3000 Posted May 5, 2010 Author Share Posted May 5, 2010 So simple! Thanks a lot!!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.