The CSS is in the web page as opposed to the stylesheet because I couldn’t get it to work otherwise.
What I should really like is all 8 columns to be the same width, and to stretch all the way across the existing table, leaving no space on the right or the left.
It may mean using smaller font size, but the <br>s are to remain as placed.
The CSS/HTML is below. Is there a better way ? My concern is that if someone is looking on a different sized screen than me, would it still look OK.
Is that inner table really a single piece of tabular data associated with the tabular data of the rest of the table?
If not (and its 99.99999% certain that it isn’t) then you shouldn’t be using a nested table in the first place.
Rewrite the HTML so that it semantically identifies the content and then it will be possible to apply CSS that lays the page out properly without the huge number of complications that nested tables introduce.
Hi certificates,
On my 1280*1024px screen there is an empty “column” of about 150px on the left side of the table. If the table is beginning just at the left of the screen, the visitors have less to scroll horizontally to see the table.
This can be done by:
Setting the #container wrapper for this page without a width. *)
Setting the header parts centered with the 950px width.
You can give the advertisements container with the class=“clearfloats” an ID to get 'm: <div id=“advertscontainer” class=“clearfloats”> <!-- adverts container –>
*) The class=“container” has a width of 950px, but the id=“container” in the same <div> is not used. An ID is more specific than a class, so the {width:auto;} of the ID will overrule the {width:950px;} of the class. In this way, the class=“container” can stay unchanged for the other pages. But over there the ID must be removed, if the ID is there too!
Alternative is to rename the id=“container” on this page in for example id=“tablepage”, and give that the {width: auto;}.
Then on other pages with the id=“container” nothing has to be changed.