![]() |
Center Site
Hi guys, can anyone give me a hand on how to center this site?
I know several times have been posted this thread but I can't get done with it, that's why I'm asking for help. As I saw what is poosted before I did the same. Here is my confisguration in CSS: html,body { height: 100%; width:1024px; margin:0 auto; background-color: #ffffff; margin: 0px; padding: 0px; font-family: verdana, arial, helvetica, sans-serif; font-size: 11px; min-width: 780px; border: 1px solid #000000; ---------- #page-container { min-height: 100%; position: relative; width; 1024px; margin:0 auto; ------ Where is the error? Thanks in advance. Tulio Castellanos |
Re: Center Site
The first page container needs to have:
margin-left: auto; margin-right: auto; |
Re: Center Site
Change this
html,body { height: 100%; width:1024px; margin:0 auto; background-color: #ffffff; margin: 0px; padding: 0px; font-family: verdana, arial, helvetica, sans-serif; font-size: 11px; min-width: 780px; border: 1px solid #000000; ---------- #page-container { min-height: 100%; position: relative; width; 1024px; margin:0 auto; to this html,body { height: 100%; width:100%; background-color: #ffffff; margin: 0px; padding: 0px; font-family: verdana, arial, helvetica, sans-serif; font-size: 11px; min-width: 780px; border: 1px solid #000000; ---------- #page-container { min-height: 100%; position: relative; width: 1010px; margin:0 auto; width of 1024px will not allow for scroll bars on the left, body and html width need to be 100%, you ahd a ; where you need a : |
Re: Center Site
Ashley, thanks for your help.
It's done. |
All times are GMT -8. The time now is 06:54 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.