PDA

View Full Version : valign text within css box



jeannemalherbe
12-14-2005, 07:46 AM
This may seem a stupid question, but how do you valign="middle" the text within a box using css?
The site is www.tmtservices.co.za/new.
It works in Firefox, but not in IE.
I would really appreciate some help with this.

Thanks
Jeanne

dharrison
12-14-2005, 08:42 AM
Hi Jeanne

It should be:

vertical-align: middle;

Although in years of using this, I have found that in some cases, it doesn't always work.

HTh anyway

johngroup
12-14-2005, 12:26 PM
Couldn't view your code. Using CSS, mid-align works in TD. For a div try padding.