March 18, 201313 yr on the right hand side (contact section) the submit button has a grey bg around it and i have gone through my css and cant seem to find it can anyone help http://www.davidcook.me/loft
March 19, 201313 yr The padding is causing the background space to expand: .button { padding: 40px 15px 4px 20px; } To resolve the issue, you can add a transparent background color to the same class, like this: .button { background-image: url(../img/button.png); background-position: 100% 100%; background-color: transparent; /* I ADDED THIS */ background-repeat: no-repeat no-repeat; border: none; color: #3187AC; float: right; font-size: 12px; padding: 40px 15px 4px 20px; text-align: center; } Lyndsey.
March 19, 201313 yr Author i have made the changes, but for some reason on chrome it gets rid of the grey box but not on safari any ideas
March 19, 201313 yr Try adding background-repeat:no-repeat; to your .button class: .button { background-repeat:no-repeat; }
Create an account or sign in to comment