Results 1 to 10 of 10
Oct 3, 2007, 01:57 #1
- Join Date
- Oct 2004
- Birtley, UK
- 0 Post(s)
- 0 Thread(s)
line-height alternative - vert centering
Does anyone have any way of vertically aligning some text or a list item without using the line-height?
My problem is the site is being built with % font values, which allows the user to change their font size via the browser.
Unfortunately, with this, the text with a line height set, will not remain in the same position.
The effect is similar to that of a table cell. if there is a height set on a table cell, and the vertical-align is set to middle. My text will be free to increase and decrease in size, whilst remaining vertically centered.