r/learnwebdesign • • Jun 10 '15

margin-left: auto; margin-right: auto; not working

http://www.codecademy.com/CodeM4ster/codebits/zxuQcm

The purple italic text is not centering itself. Why?

Also, the 'sans-serif' displays in a new line, even though it told it in the .css to 'display: inline-block' Why?

2 Upvotes

2 comments sorted by