mds1256 Posted May 4, 2012 Share Posted May 4, 2012 Hi I have an input button which has a background image, I have set the color to #FFFFFF so the text value of the button is white and set the bacground color to transparent (if i put inherit it is putting a white background on the button and since the button has rounded corners you can see the white on the corners) No I know they are only warnings but I want to try and get it free of warnings, (i have whole site built with this being the only warning). What way can I change the css to get rid of the no background / transparent warning. I tried setting a background color of transparent on its parent (which is a DIV) and then then trying to inherit but it still comes out as white. example of code <div id="formWrapper"> <form name="nameHere" method="post" action=""> .......... more fields here ............ <div id="formBottomWrapper"> <input type="submit" class="button" name="submitButton" id="submitButton"> </div> </form> </div> Quote Link to comment https://forums.phpfreaks.com/topic/262063-background-is-either-not-set-or-transparent-warning/ Share on other sites More sharing options...
mds1256 Posted May 10, 2012 Author Share Posted May 10, 2012 I sorted this, I basically put the background-color:inherit; before the background:url etc and that worked Quote Link to comment https://forums.phpfreaks.com/topic/262063-background-is-either-not-set-or-transparent-warning/#findComment-1344438 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.