This would be the best way to go. Presumably you can assign a height to the
parent div, even if it is "auto". By setting the height and line-height to a
value your text will whizz-bang-blammo align centered vertically.

On Tue, Sep 14, 2010 at 2:07 PM, Thierry Koblentz <[email protected]> wrote:

> If you can set height/line-height on the parent, then you can try this:
>
> For the DIV:
>
> height: 4em;
> line-height: 4em;
> text-align:center;
>
> For the LIs:
> display:inline;
>
> Whatever height you use make sure line-height as the same value
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to