Hi everyone.
Wonder if someone could help me out. Im trying to use css styles to format a table.
In html I have a table with 2 columns, column 1 is 30% and the 2nd one is 70% and the whole table is designed to take up 95% of space.
Cell padding is 5 and Cell spacing is 3 and of course the table is centered. Below is the html that Ive used thus far.
As I use this sort of table on a lot of pages Id like to chuck a hand in and use a bit of css. So Ive done the following
Created a class called .TechTable
.TechTable
{
width: 95%;
FONT-SIZE: smaller;
FONT-FAMILY: Arial;
margin-left: auto;
margin-right: auto;
}
and then one for the left column that has the following
.TechLeftColumn
{
FONT-FAMILY: arial;
FONT-WEIGHT: bolder;
FONT-VARIANT: small-caps;
border-style: dashed, 1px;
border-bottom-width: thin;
padding: 5px;
width:33%;
}
Now from what Ive worked out.....
There is no equivilant for cell spacing at the moment (been and googled that one)
I also need a definition in the CSS for the right hand column?
Can anyone help me make the CSS do the same this as that I do with the html version of my table? I have done a bit of googling but not really got anywhere so Id like to take some advice from the people who know
Thanks