Home  >  Article  >  Web Front-end  >  Table centering problem: align=center does not work in ff_html/css_WEB-ITnose

Table centering problem: align=center does not work in ff_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:14:081101browse

I want the table to be centered left and right on the page, but the result is still left aligned in FF. There is no problem in IE. Who knows what the reason is? ? ?







;Name:

age:
Age:


Reply to discussion (solution)

I’m anxious, please help me...

How to align left?
No matter how I look at it, it’s all centered~

Is it because the td should be centered?

Try setting a width and height for the table

Just use

to enclose the table and try

The width and height are irrelevant
5 Lou’s method is very practical, haha.
Thank you.

The method on the 5th floor is good @@~~~ Thank you~

This compatible method can solve the problem in FF, but in IE the content is all centered, what should I do?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn