| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
#31
|
|||||||||
|
|||||||||
Re: Head Logo
where did you add it?
__________________
xcart 5.1.2 |
|||||||||
#32
|
|||||||
|
|||||||
Re: Head Logo
main.css
page-container BTW, was there supposed to be a link or something in your last post to bookmark and read?
__________________
4.2 My site Fancy Categories 4.2 Customer site Fancy Categories |
|||||||
#33
|
|||||||||
|
|||||||||
Re: Head Logo
oops sure was
http://www.w3schools.com/css/default.asp please post your page-container and html,body css declarations.
__________________
xcart 5.1.2 |
|||||||||
#34
|
|||||||
|
|||||||
Re: Head Logo
Here you go... thanks
general tags styles */ html,body { align: center; height: 100%; width: 900px; background: #006633 url(images/golfsunsetshotbanner.jpg) no-repeat; margin: 0px; padding: 0px; font-family: verdana, arial, helvetica, sans-serif; font-size: 11px; min-width: 780px; border: 0px none; /* page container */ #page-container { min-height: 100%; position: relative; width:900px; margin:0 auto 0 auto; }
__________________
4.2 My site Fancy Categories 4.2 Customer site Fancy Categories |
|||||||
#35
|
|||||||||
|
|||||||||
Re: Head Logo
take the width out of the html,body.
__________________
xcart 5.1.2 |
|||||||||
#36
|
|||||||||
|
|||||||||
Re: Head Logo
here are mine and it works fine.
html,body { height: 100%; background-color: #ffffff; margin: 0px; padding: 0px; font-family: verdana, arial, helvetica, sans-serif; font-size: 16px; min-width: 780px; border: 0px none; } #page-container { min-height: 100%; position: relative; width:975px; margin:0 auto 0 auto; }
__________________
xcart 5.1.2 |
|||||||||
#37
|
|||||||
|
|||||||
Re: Head Logo
That was it.
Thanks again for the help. Hopefully I'll start catching on soon.
__________________
4.2 My site Fancy Categories 4.2 Customer site Fancy Categories |
|||||||
#38
|
|||||||||
|
|||||||||
Re: Head Logo
Ok cool. You had the html, body set to the same width as page-container, so there could be no margin because they were the same size.
So what we did was take the width out of the html,body tag, so they would go to their default 100% width. This allowed for the margins on the page-container to be equal on both sides. hope that helps a bit.
__________________
xcart 5.1.2 |
|||||||||
#39
|
|||||||
|
|||||||
Re: Head Logo
hey guys, i just installed my site and i center it by changing the page-containter with that :
#page-container { min-height: 100%; position: relative; width:975px; margin:0 auto 0 auto; } The problem is that with that way they site looks "weird". I think it needs a border. IF you don't understand look my old site to understand www.turbosim.gr any way to do this?
__________________
X-Cart Gold : 4.2.1 (on linux parallels plesk / mysql) Php v5.2.9 (Zend: 2.2.0) - MySql v5.0.79 - LiteSpeed server Modules : X-Offer & X-Aom & One page checkout Product tabs & Product downloads & many more |
|||||||
#40
|
|||||||||
|
|||||||||
Re: Head Logo
copy this image www.turbosim.gr/oscommerce/images/background5.gif into skin1/images
and add in your css Code:
Code:
and
__________________
Regards, Victor Dubiniuk X-Cart Skins Store - twenty two different skins for 4.1.x and 4.2.x; - 4.3.x compatible versions are available; - refresh you store now! Smart menu X-Cart add-on for 4.1.8 - 4.3.x Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x |
|||||||||
|
|
|||
X-Cart forums © 2001-2020
|