There are different ways to do it, stylesheets for tables, depending upon your exact aims. Also, a stylesheet can be external or be on the page, in the head surrounded by style tags. For all tables on all pages with this stylesheet, the simplest declaration is:
Code:
table {
position:absolute;
left:20px;
top:50px;
}
For only one table per page regardless of how many tables are on the page, use:
HTML Code:
<table id="tableId">
in the markup for that one table and:
Code:
#tableId {
position:absolute;
left:20px;
top:50px;
}
in the stylesheet. For several tables on a page but, only those you want affected use:
HTML Code:
<table class="tableClassName">
and:
Code:
.tableClassName {
position:absolute;
left:20px;
top:50px;
}
The red values in the last two examples can be any unique ID or className that you choose. Descriptive (descriptive of the effects and/or content of the element effected) ones are best. There are many other ways still, these are the basic ones.
Bookmarks