The element has a variable width, so I don't know it.
Is it possible to center this element inside its wrapper element?
The wrapper has a fixed width of 960px...
The element has a variable width, so I don't know it.
Is it possible to center this element inside its wrapper element?
The wrapper has a fixed width of 960px...
Add text-align: center; to the wrapper, and then display: inline-block; to the child
Or add display: table; andmargin: 10px auto; to the child element
Or position: relative; left: 50%; float: left;
Yes, as long as you have margin:0 auto; with the variable width specified...
` or `