Categories:
.NET (357)
C (330)
C++ (184)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (2)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Struts (1)
Windows (1)
XHTML (173)
Other Resources:
Placing a Table in the Center of a Page
How do I center a table?
✍: FYIcenter
You place a table in the center of a page with the help of CSS as shown in this example:
In your HTML, use
<div class="center">
<table>...</table>
</div>
In your CSS, use
div.center {
text-align: center;
}
div.center table {
margin-left: auto;
margin-right: auto;
text-align: left;
}
2007-03-03, 6743👍, 0💬
Popular Posts:
Give me the example of SRS and FRS SRS :- Software Requirement Specification BRS :- Basic Requiremen...
Does there exist any other function which can be used to convert an integer or a float to a string? ...
How To Enter a New Row into a Table Interactively? - Oracle DBA FAQ - Introduction to Oracle SQL Dev...
If we have two version of same assembly in GAC how do we make a choice ? OK first let’s try to under...
How To Create an Add-to-NewsGator Button on Your Website? - RSS FAQs - Adding Your Feeds to RSS News...