![]() Inline-level elements and elements with a display of table-cell. A length value of 0 for this property has the same effect as the value baseline. Negative length values are permitted for this property. Length − The baseline of the element is raised or lowered by the given length value. Percentage − The baseline of the element is raised or lowered by the given percentage of the value for the property line-height. Text-bottom − The bottom of the element's box is aligned with the bottom of the lowest inline box in the line. very bottom, how would I go about doing that - or would it require two. If I wanted to have some text at the very top of the cell and some at the. Apply the vertical-align to the td element. Middle − The baseline of the element is aligned with the point defined by the baseline of the parent element plus half the x-height of the parent element's font, in the context of inline content.īottom − The bottom of the element's box is aligned with the bottom of the line box, in the context of inline content, or with the bottom of the table cell in the context of tables. 'Steve Pugh' <> wrote: vertical-align doesn't apply to block level elements.![]() Text-top − The top of the element's box is aligned with the top of the highest inline box in the line. Top − The top of the element's box is aligned with the top of the line box, in the context of inline content, or with the top of the table cell in the context of tables. Super − The baseline of the element is raised to the point appropriate for superscripted text. ![]() Sub − The baseline of the element is lowered to the point appropriate for subscripted text. Possible Valuesīaseline − The baseline of the element is aligned with the baseline of the parent element. ![]() The vertical-align property determines the alignment of text within a line, or within a table cell.
0 Comments
Leave a Reply. |