Hacker News new | ask | show | jobs
by mcartyem 4998 days ago
Both of them fail to center elements. They are also unable to keep the proportions set for them when resizing a window.

Here's code that demonstrates that:

http://news.ycombinator.com/item?id=4652191

1 comments

Yeah...emmm...nobody uses the center tag anymore.
Why not?

The center tag is the only tag that still centers correctly.

It's deprecated in HTML5, you should be using CSS to center elements. You can do this pretty easily:

    width: 500px;
    margin:0px auto;
Or text-align:center