Marty Martin wrote:
> I am trying to vertically align a div within a div but am having problems.
> Here's what I have code wise--
>   
[css and html trimmed]
>
> What do I need to do to get it to align in the middle within it's container
> div?  YOu can see it here--  http://www.urologicsurgeryonline.com/
>   
One way you might do it is to reset the margin on the ul:
.menu ul {
/*margin: auto 0;*/
margin: 10px auto 0 auto;
}
One thing to bear in mind is some users set a min-font size larger than 
what you specify, and some users need to employ a healthy font-zoom -- 
either /may/ break anything whose height is restricted (like your menu).
> Marty Martin
>   
Best,
~dL
PS It might be a good idea to validate the markup, Marty.

-- 
http://chelseacreekstudio.com/

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to