I am putting together a new site from an existing site and copying over some of the html and css. I don't really understand why the body is center-aligned here: http://www.problemio.com/auth/forg开发者_运维知识库ot_password.php
Any idea what is doing that?
Thanks!
You've got body {text-align: center}
in your stylesheet.
The stylesheet being served from Yahoo has body { text-align: center; }
in it. You can just put body { text-align: left; }
in yours to counter it.
精彩评论