CSS glossary entries for ‘T’
- table-layout
- The
table-layout
property is a CSS property which specifies the algorithm that browser use to layout table cells, rows, and columns. It has two principal values:auto
andfixed
. The automatic layout algorithm, which sets table and cell width based on the quantity of their content, is used as the default in most browsers. Under the fixed layout algorithm, table and column widths are determined by the widths of table and col elements or by the width of the first row of cells. The content of cells in subsequent rows do not affect these column widths. - Target selector
- The Target selector (
E:target
) is a CSS ‘pseudo-class selector’ which selects the unique element that is the target of a URI's fragment identifier, e.g. the target page fragment of an activated link. This is not a particularly well-known or widely-used selector, but it has the very important potential to provide CSS-only fallbacks for many interactions, i.e. interactions which, otherwise, would only be possible using JavaScript. It can, for example, be used to open up hidden content in tabbed or accordion panels by touch or click when CSS-hovering is impossible — or undesirable for usability reasons. - text-align
- The
text-align
property is a CSS property which sets the horizontal alignment of running text, e.g. whether it is displayed ‘ragged right’, ‘ragged left’ or ‘justified’ - text-decoration
- The
text-decoration
property is the CSS3 ‘shorthand property’ for ‘text-decoration-color’, ‘text-decoration-line’, and ‘text-decoration-style’. - text-decoration-color
- The
text-decoration-color
property is a CSS property which specifies the colour that should be used when the browser renders ‘underlines’, ‘overlines’, or ‘strike-throughs’, as specified by the ‘text-decoration-line’ property. - text-decoration-line
- The
text-decoration-line
property is a CSS property which determines which kind of line decoration is applied to a selected element, e.g. ‘underline’, ‘overline’, ‘strike-through’ or combinations of them. - text-decoration-style
- The
text-decoration-style
property is a CSS property which specifies the style of line to be drawn for ‘underlines’, ‘overlines’, or ‘strike-throughs’, set by the ‘text-decoration-line’ property. There are currently 5 optional line style values: ‘solid’, ‘double’, ‘dotted’, ‘dashed’ and ‘wavy’. - text-indent
- The
text-indent
property is a CSS property which sets an amount of indentation on the first ‘anonymous line box’ within a ‘block box’. Positive values can be used to create the indented paragraph style of traditional literary prose. While negative values can be used to create ‘hanging indents’. The number of words in the ‘anonymous line box’ are typically adjusted, i.e. fewer words will be rendered in positively indented first lines, while more words will be rendered in negatively indented first lines. - Type selector
- The element type selector (
E
) is the most basic CSS selector, consisting of nothing but an element name. It selects all the elements of the given type, e.g. all the paragraphs if the selector isp
, all the list items if the selector isli
, or all the link anchors if the selector isa
. It is widely used alone or in ‘combinators’. It also frequently ‘concatenated’ with ‘class selectors’ to identify sub-types that need to be distinguished from generic instances of the same element type.