jcdevelopment
10-30-2007, 10:11 PM
I have a list menu that is placed in a div. For some reason when i type text-align:center it wont do anything, do i have to set a huge margin or padding left to it?
heres my css code:
#navctrl {
background-color: #336666;
width:100%;
height:25px;
position:absolute;
margin-top:75px;
margin-left:0px;
border-top:2px solid #FFFFFF;
border-bottom:2px solid #FFFFFF;
z-index:25;
font-family:Verdana, Arial, Helvetica, sans-serif;
color:#FFFFFF;
font-size:12px;
}
#navctrl li {
float:left;
position:relative;
list-style-type:none;
border-right:1px solid #000000;
text-align:center;
vertical-align:
}
thanks
heres my css code:
#navctrl {
background-color: #336666;
width:100%;
height:25px;
position:absolute;
margin-top:75px;
margin-left:0px;
border-top:2px solid #FFFFFF;
border-bottom:2px solid #FFFFFF;
z-index:25;
font-family:Verdana, Arial, Helvetica, sans-serif;
color:#FFFFFF;
font-size:12px;
}
#navctrl li {
float:left;
position:relative;
list-style-type:none;
border-right:1px solid #000000;
text-align:center;
vertical-align:
}
thanks