How do I center a table?
Answers were Sorted based on User's Feedback
Answer / devendra saini
it's a common tags for table
<TABLE ALIGN=CENTER>
But it's can be done by CSS Styly="margine:0px auto;
position:relative;"
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / guest
The "correct" way of doing it is <TABLE ALIGN=CENTER>, but
this doesn't work in several popular browsers. Put <CENTER>
around the entire table for these browsers.
This causes some problems with browser that do support
CENTER but not tables, such as Lynx. In these browsers, the
contents of the cells is now displayed centered, which is
not what is intended. To avoid this, you can put the cell's
contents in <P ALIGN=left> or <DIV ALIGN=left> depending on
the amount of text in the cell.
| Is This Answer Correct ? | 0 Yes | 0 No |
Can I learn html5 without knowing html?
Why is html5 important?
How can we include google maps on a website?
Which elements of HTML 4.01 are no more a part of HTML5?
What is a p tag?
What is a frameset bike?
What is a h1 tag?
Explain html formatting elements?
How to create a link that will connect to another web browser page when clicked in html5?
Why is keyword important?
What is anchor tag and how can you open an url into a new tab when clicked?
Is xhtml still used 2018?