| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
#1
|
|||||||
|
|||||||
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 |
|||||||
#2
|
|||||||
|
|||||||
Re: Center Site
The first page container needs to have:
margin-left: auto; margin-right: auto; |
|||||||
#3
|
|||||||||
|
|||||||||
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 :
__________________
xcart 5.1.2 |
|||||||||
#4
|
|||||||
|
|||||||
Re: Center Site
Ashley, thanks for your help.
It's done. |
|||||||
|
|||
X-Cart forums © 2001-2020
|