开发者

Why is this page's body center-aligned?

开发者 https://www.devze.com 2023-04-06 17:11 出处:网络
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开发者

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消