Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Document Properties Marker
overridefalse


Short DescriptionUse the CSS class projectdoc-alternating for a HTML table to get alternating colored table rows.
Doctypepropertyhide
Nameprojectdoc-alternating
Parent
Parent Property
property-nameName

Audience
Name List
doctyperole
propertyAudience
hide
Tags

Identifierprojectdoc-alternating
Component
Name List
doctypecomponent
namesHTML Table
propertyComponent

Mandatory
Type
Default Value
Value Range
Implementation
Iteration

Iteration
valueproduction

hide
Sort Keyhide



Section
show-titlefalse
titleDescription

Tables generated by the projectdoc Toolbox set this selector to allow different styles on odd and even rows.

Code Block
languagecss
titleCSS Styles
table.projectdoc-alternating tr:nth-child(odd) {
	background: #FFF;
}

table.projectdoc-alternating tr:nth-child(even) {
	background: WhiteSmoke;
}


...