Jump to content
Sign in to follow this  
MSousa

CSS3 Background Images

Recommended Posts

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?

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×