From Htmlpedia
Contents |
[edit]
CSS 1 property: vertical-align
This article is a stub for the property vertical-align. Please help us improve HTMLpedia by improving this article.
[edit]
Property Values
This property accepts the following values:
- baseline
- sub
- super
- top
- text-top
- middle
- bottom
- text-bottom
- <percentage>
[edit]
Example
![]() | <style type="text/css">
element { vertical-align: value; }
</style>
...
<element attribute="foo">Contents</element> |
[edit]
Browser Support
If you have tested support for this property in any of the following browsers, please indicate its level of support using one of the following keywords:
- Full
- Partial
- Buggy
- None
If you indicate that support is "Partial" or "Buggy," please add further comments explaining what's missing or what doesn't work right.
- IE 3
- Support is Unknown
- IE 4
- Support is Unknown
- IE 5
- Support is Unknown
- IE 5.5
- Support is Unknown
- IE 6
- Buggy
- IE 7
- Buggy
- IE 8
- Full
- NS 3
- Support is Unknown
- NS 4
- Support is Unknown
- NS 4.5
- Support is Unknown
- NS 6
- Support is Unknown
- NS 7
- Support is Unknown
- NS 8
- Support is Unknown
- Firefox 1
- Support is Unknown
- Firefox 1.5
- Support is Unknown
- Firefox 2
- Support is Unknown
- Firefox 3
- Full (other than baseline which is buggy)
- Mozilla
- Support is Unknown
- Opera 6
- Support is Unknown
- Opera 7
- Support is Unknown
- Opera 8
- Support is Unknown
- Opera 9
- Full (except for text bottom, which is a bit low)
- Safari 3
- Full (other than baseline, which is buggy)
[edit]
Tips and Tricks
Please see Sanbox testing of the vertical-align property. More testing can be found on vertical-align, with the results summarized in a grid of CSS properties, values and browser support.
[edit]
References
- W3C Specification: CSS Specification Level 1
- HTMLpedia: List of CSS Properties
- Vertical-align Browser Support as of 2009

