RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
HTTPProd.THTMLVAlign Enumeration

THTMLVAlign represents vertical alignment within an the cell of an HTML table.

Pascal
THTMLVAlign = (
  haVDefault,
  haTop,
  haMiddle,
  haBottom,
  haBaseline
);
C++
enum THTMLVAlign {
  haVDefault,
  haTop,
  haMiddle,
  haBottom,
  haBaseline
};

THTMLAlign describes the value of a VAlign option in a <TD> tag. The following table lists the possible values:

Value 
Meaning 
haVDefault  
The Web browser can position contents of cells anywhere vertically.  
haTop  
Web browsers position the contents of cells in the column so that they appear lined up on the top.  
haMiddle  
Web browsers vertically center the contents of cells in the column.  
haBottom  
Web browsers position the contents of cells in the column so that they appear lined up on the bottom.  
haBaseline  
Web browsers position the contents of every cell within a row so that they all share the same baseline for the first line of text.  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!