Centering An Inline-Block DIV
- by Aaron Brewer
Does anybody know how to center align a DIV that has the display set to inline-block?
I cannot set the display to block because I have a background image that needs to be repeated, and it needs to expand based on the content. It sits inside of a parent div, in which is larger when it comes to width.
So all in all. Does anyone have a fix to center…