I\'m trying to display two elements on the same line, but in the center. To center them, I had to set margin:auto; However, in order to
elements on the same line, but in the center. To center them, I had to set margin:auto; However, in order to
margin:auto
Have you tried display: inline-block;? An example of the HTML you are working with would help... put one up at http://jsFiddle.net if inline-block doesn't solve your problem.
display: inline-block;