Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First div CSS example in Portfolio 1 is confusing #18

Open
projectgus opened this issue Nov 17, 2013 · 0 comments
Open

First div CSS example in Portfolio 1 is confusing #18

projectgus opened this issue Nov 17, 2013 · 0 comments

Comments

@projectgus
Copy link
Contributor

The first Portfolio chapter has people create a div with width: 100%; margin: 0 auto; and says that this centres the div.

A lot of people then put content into the div and were asking why it wasn't centered. I think it may be necessary to explain more of the box model at this point, or use a more straightforward (or fleshed out) initial example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant