• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 10. Text Properties > vertical-align Property

10.4. vertical-align Property

The vertical-align property is designed to let a Web author align the placement of text on a Web page with respect the vertical placement of another element on the Web page — most typically an image. It belongs to the text family of CSS properties and its numerous values equate to various positioning values normally associated with text.

The vertical-align property can take any one of eight different values: baseline, middle, sub, super, text-top, text-bottom, bottom and top. In addition, it can also take on a percentage value that is set relative to the line-height property above the baseline by whatever percentage value is specified.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint