Contact category
Without any additional styling the page looks as follows.

Structure with classes and id's
div.componentheading
div.contentpane
div.contentdescription
form
table
thead tr td (align=right) select.inputbox id=limit
tfoot tr td.sectiontablefooter (align=center) span.pagenav a
tbody tr
td.sectiontableheader (width=5 align=right)
td.sectiontableheader (height=20) a
td.sectiontableheader (height=20) a
td.sectiontableheader (height=20 width=15%)
td.sectiontableheader (height=20 width=15%)
td.sectiontableheader (height=20 width=15%)
td.sectiontableheader (width=5 align=right)
td.sectiontableheader (height=20) a
td.sectiontableheader (height=20) a
td.sectiontableheader (height=20 width=15%)
td.sectiontableheader (height=20 width=15%)
td.sectiontableheader (height=20 width=15%)
tr.sectiontableentry1
td (align=right width=5)
td (height=20) a.category
td
td (width=15%)
td (width=15%)
td (width=15%)
td (align=right width=5)
td (height=20) a.category
td
td (width=15%)
td (width=15%)
td (width=15%)
tr.sectiontableentry2
td (align=right width=5)
td (height=20) a.category
td
td (width=15%)
td (width=15%)
td (width=15%)
td (align=right width=5)
td (height=20) a.category
td
td (width=15%)
td (width=15%)
td (width=15%)
tr.sectiontableentry1
td (align=right width=5)
td (height=20) a.category
td
td (width=15%)
td (width=15%)
td (width=15%)
td (align=right width=5)
td (height=20) a.category
td
td (width=15%)
td (width=15%)
td (width=15%)
tr.sectiontableentry2 Etc.
There are many in-line styles in the table. You have to take that in account when styling the page.
CSS
div.contentpane
We aleady have discussed the class "contentpane". However this class was linked to a table (table.contentpane). In this case the class is linked to a div, and therefor it is a new style.
div.contentpane {
border: 1px #999 dotted;
padding: 10px;
}
div.contentdescription
For the class contentdescription goes the same. It is a new class.
div.contentdescription {
font-family:Arial;
font-size: 18px;
font-weight: bold;
color: #660000;
line-height: 18px;
padding: 5px 0 10px 0;
}
td.sectiontablefooter
table td.sectiontablefooter {
padding-top: 10px;
}
td.sectiontableheader
table td.sectiontableheader {
font-weight: bold;
}
tr.sectiontableentry1, tr.sectiontableentry2 en a.category
table tr.sectiontableentry1 {
font-size: 10px;
}
table tr.sectiontableentry2 {
background-color: #cccccc;
font-size: 10px;
}
Print screen after applying CSS


