Table of Contents

Enum VerticalAlignment

Namespace
AngleSharp.Dom
Assembly
AngleSharp.dll

The list of possible vertical alignments (extended by CSS).

public enum VerticalAlignment : byte
Extension Methods

Fields

Baseline = 0

Aligns the baseline of the element with the baseline of its parent. The baseline of some replaced elements, like textarea is not specified by the HTML specification, meaning that their behavior with this keyword may change from one browser to the other.

Bottom = 7

Align the bottom of the element and its descendants with the bottom of the entire line.

Middle = 5

Aligns the middle of the element with the middle of lowercase letters in the parent.

Sub = 1

Aligns the baseline of the element with the subscript-baseline of its parent.

Super = 2

Aligns the baseline of the element with the superscript-baseline of its parent.

TextBottom = 4

Aligns the bottom of the element with the bottom of the parent element's font.

TextTop = 3

Aligns the top of the element with the top of the parent element's font.

Top = 6

Align the top of the element and its descendants with the top of the entire line.