MSousa Posted January 3, 2014 Share Posted January 3, 2014 I have a problem When I put a background image and after I put a padding value The position of the pictures changes. I do this: .actual { height: 255px; width: 805px; margin-left: 329px; margin-top: -255px; background-color: #555555; position: absolute; background-image: url(imagens/menu_actual_02.jpg); padding: 20px; } how I can fix this? Link to comment Share on other sites More sharing options...
MSousa Posted January 3, 2014 Author Share Posted January 3, 2014 I forgot the background-repeat:no-repeat; and I deleted the background-color 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