Jump to content

padding-right is ignored


rain13
 Share

Recommended Posts

As the image shows, the element is going behind the other one because it is floated and the padding is behind the blue box as well. I think this is another one of those cases where setting overflow to hidden solves the problem.

Link to comment
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
 Share

×
×
  • Create New...