I am trying to vertically align a div within a div but am having problems.
Here's what I have code wise--

<div id="left" class="menu">
  <ul>
   <li class="active"><a href="/index.php?id=1" title="MODx CMS
Install Success" >Home</a></li>
   <li><a href="/index.php?id=2" title="Dennis D. Garvin, MD, FACS"
>Dennis D. Garvin, MD, FACS</a></li>
   <li><a href="/index.php?id=3" title="Christopher M. Hicks, MD,
FACS" >Christopher M. Hicks, MD, FACS</a></li>
   <li><a href="/index.php?id=4" title="Services and Procedures"
>Services and Procedures</a></li>
   <li><a href="/index.php?id=5" title="Patient Education" >Patient
Education</a></li>
   <li class="last"><a href="/index.php?id=6" title="Locations and
Directions" >Locations and Directions</a></li>
  </ul>
</div>

My CSS is--

.menu {
position:relative;
z-index:1000;
font-size:90%;
height: 177px;
}

.menu ul {
padding:0;
margin: auto 0;
list-style-type:none;
width:195px;
}


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/

Thanks!

Marty Martin
-- 
Marty Martin
REALTOR

m (540) 397-0014
h  (540) 265-6876
f   (866) 467-3759

e  [EMAIL PROTECTED]
w  http://blog.roanokehousehunter.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