Log in

View Full Version : CSS trouble



avenus
11-26-2008, 05:33 PM
hey guys i have one problem.

i have listed items that are floated in left side and i want to make the display at the center of my page in any conditions. Can any one help me with this?


here's the CSS

#footer {
font-size: small;
font-family: "Trebuchet MS",Trebuchet,Tahoma,Verdana;
color: #999;
background: #d0d0d0 url(../images/footer/background.png) repeat-x top;
}

#footer ul.nav {
list-style:none;
padding-top:25px;
text-align: center;
}

#footer ul.nav li {
padding-left: 3%;
float:left;
}

#footer ul.nav li a {
text-decoration:none;
display: block;
}

Snookerman
11-26-2008, 05:36 PM
I'm afraid I don't understand what you want to do. Could you please be more specific and post the html code as well or a link to the page?

avenus
11-26-2008, 06:49 PM
here's the link
http://avinas.com.np/socialect/

check the footer i want to pace it exactly at the center. this footer length changes according to the page so it should always be in center.
can you help me??

avenus
11-27-2008, 10:22 AM
can any one help me?????????

Snookerman
11-27-2008, 12:06 PM
Your footer acts weird in FF3 and IE7 so I can't really see how you want it too look. What browser are you using? Could you post a picture showing how you see the footer and how you want it to look?