shoopaie Posted February 25, 2011 Report Share Posted February 25, 2011 I was wondering if anything has encountered this issue in IE9, which also seems to be there with IE8. I am trying to insert an image to replace default input text boxes. In opera, firefox, etc, the white background behind the transparent .png images do not show, however in IE they do. Here is my css code for these input boxes. The first pic is of IE buggy, and the second picture is firefox displaying it correctly. input { background:url('images/whitebutton.png'); height:30px; padding-left:12px; background-repeat:no-repeat; margin-right: 0px; float:right; outline: 0; border:none; background-color:none; } My standard HTML code: <form action="registerSubmit.php" method="post" /> Name: <input type="text" name="name" /><br> Username: <input type="text" name="username" /><br> Email: <input type="text" name="email" /><br> Password: <input type="password" name="pass1" /><br> Password (again): <input type="password" name="pass2" /><br> <input id="submit" type="submit" name="submit" value="Register!"/> <input type="hidden" name="registerSubmit" /> </form> So if anyone knows how to get the white background gone, and the inputs to lineup correctly instead of being offset in IE, that would be cool. And, if someone knows a good website that shows fixes to known IE bugs, that would be great too, thank you!!! Adam. Quote Link to comment Share on other sites More sharing options...
falkencreative Posted February 25, 2011 Report Share Posted February 25, 2011 Just a quick guess... you might try "background-color:transparent;" rather than "background-color:none;". I'd check that first -- otherwise, I'll take another look. Quote Link to comment Share on other sites More sharing options...
shoopaie Posted February 25, 2011 Author Report Share Posted February 25, 2011 Nice! that got rid of the background color. Now for the position adjustment. Are IE and firefox that far off from each other?? 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.
Note: Your post will require moderator approval before it will be visible.