wsrp message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: [wsrp-wsia] [change request #248 ] Section CSS classes
- From: Rich Thompson <richt2@us.ibm.com>
- To: wsrp@lists.oasis-open.org
- Date: Wed, 26 Mar 2003 10:07:42 -0500
This came in from an internal review of our defined CSS
classes. As I didn't partake in much of the design discussions hence
don't know if/why we choose against this I have added as a change request
so we can discuss:
Document: Spec 0.92
Section: 10.5.4 Sections
Page/Line: 73/5
Requested by: Michael Freedman
Old Text:
portlet-section-header, ....
New Text:
Add a new section to differentiate section styles from table styles.
Reasoning:
In the WSRP spec, there are a set of "portlet-section" classes
defined to "affect the rendering of markup sections such as table,
div and span (i.e. alignment, borders, background color, etc.) as well
as their text attributes." These are:
- portlet-section-header: Table or section header
- portlet-section-body: Normal text in a table cell
- portlet-section-alternate: Text in every other row
in the cell
- portlet-section-selected: Text in a selected cell
range
- portlet-section-subheader: Text of a subheading
- portlet-section-footer: Table or section footnote
- portlet-section-text: Text that belongs to the table
but does not fall in one of the other categories (e.g. explanatory or help
text that is associated with the section).
The
trouble is, these classes seem to be satisfying two different functions:
1. styling
information presented in tables
2. styling
section headers, sub-headers, etc.
To follow the Oracle look and feel guidelines, this
means we are likely to end up defining these classes separately for table
cell elements, and for textual elements
E.g.
/* Format text spans and paragraphs as section headers*/
p.portlet-section-header, span.portlet-section-header
{
font-family:Arial,Helvetica,Geneva,sans-serif;
font-size:16pt;
color:#336699
}
/* Format DIVs, TABLEs and any of the components of a table with the standard
background for header cells */
div.portlet-section-header, table.portlet-section-header, thead.portlet-section-header,
tfoot.portlet-section-header, tbody.portlet-section-header, tr.portlet-section-header,
td.portlet-section-header
{
font-family:Arial, Helvetica, Geneva, sans-serif;
font-weight:bold;
background-color:#cccc99;
color:#336699;
font-size:10pt;
text-align:left
}
Could the committee perhaps consider removing the 'overloading' from the
portlet-section classes, and define separate classes to be used for table
cells and for textual headings?
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]