amirshaneh Posted May 27, 2013 Share Posted May 27, 2013 I have a donation box on my page. Instead of remaining transparent it inherit black background from the css. Ive checked source to confirm it.How can I make the donation box background to remain transparent?Website link ; dpa4life.tkThanks in advance.Amir Link to comment Share on other sites More sharing options...
newseed Posted May 27, 2013 Share Posted May 27, 2013 I have a donation box on my page. Instead of remaining transparent it inherit black background from the css. Ive checked source to confirm it. How can I make the donation box background to remain transparent? Website link ; dpa4life.tk Thanks in advance.Amir Add a class to that input field and use css to change the background color. Link to comment Share on other sites More sharing options...
buzzycoder Posted May 27, 2013 Share Posted May 27, 2013 Its a image. Link to comment Share on other sites More sharing options...
amirshaneh Posted May 27, 2013 Author Share Posted May 27, 2013 (edited) Add a class to that input field and use css to change the background color. im kind of a newbie is there a chance you can show me an example? Its a image.*facepalm*thanks for the info smartass i didnt notice its an image Edited May 27, 2013 by amirshaneh Link to comment Share on other sites More sharing options...
newseed Posted May 27, 2013 Share Posted May 27, 2013 HTML: <input class="paypal-bg" width="300" type="image" border="0" alt="PayPal - The safer, easier way to pay online!" name="submit" src="https://www.paypalobjects.com/en_US/IL/i/btn/btn_donateCC_LG.gif"> CSS: .paypal-bg {background-color: none; border: 0;} Link to comment Share on other sites More sharing options...
amirshaneh Posted May 27, 2013 Author Share Posted May 27, 2013 HTML: <input class="paypal-bg" width="300" type="image" border="0" alt="PayPal - The safer, easier way to pay online!" name="submit" src="https://www.paypalob...donateCC_LG.gif"> CSS: .paypal-bg {background-color: none; border: 0;} Thanks alot that worked. but None is no a valid value. i changed it to transparent and it works great Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now