sweetbeanspromo Posted December 17, 2014 Share Posted December 17, 2014 I am having trouble centering some background images I am using on a new site. Currently it is displaying on the left hand side of the parent element and if I put display: inline-block it displays on the right. I remember using display: inline-block to get it to do this the last time I used transitions but i'm obviously not doing it right this time. Any help appreciated its the second to last thing left to do before the sites ready! http://newsite.currypie.co.uk/index.html Thanks in advance. Link to comment Share on other sites More sharing options...
Day Posted December 17, 2014 Share Posted December 17, 2014 it looks like the images are already centered in their parent div: "ch-info". Link to comment Share on other sites More sharing options...
sweetbeanspromo Posted December 22, 2014 Author Share Posted December 22, 2014 Thanks for the reply Ryan. Any idea why the background isn't then displaying in the center? 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