difference between text align and vertical align properties
Answers
Answered by
14
Answer:
Text-align is used to align the text in center/left/right/justify horizontally and vertical-align aligns the element in vertically. ... The proper values for text-align are left|right|center|justify as it is horizontal, while the valign is vertical so it's top|middle|bottom|baseline. You can also use inherit on both.
Answered by
7
Answer:
Vertical-align property
1. It sets the horizontal alignment of text in a table.
2. The value of this property is Left/Right/Center.
Text-align property
1. It sets the vertical alignment of Text-align property text in a table.
2. The value of this property is Top/Bottom/Middle.
Similar questions