Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

CSS troubles IE Versions

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-12-2009, 05:53 AM
 
info@mea.li info@mea.li is offline
 

Member
  
Join Date: Apr 2009
Location: Switzerland
Posts: 13
 

Default CSS troubles IE Versions

Hi all

I'm a newbie but was able to change the design for the online-store (www.erotikdvd.ch/index.php) a lil bit. I want that my store has fix width (1024px) and is always positioned center in browser.

so i did this code in main.css

*/
html,body {
height: 100%;
margin-top: 0px;
margin-left: auto;
margin-right: auto;
padding: 0px;
font-family: tahoma, verdana, arial, helvetica, sans-serif;
font-size: 11px;
width: 1024px;
border: 0px none;
background: #ffffff;
}

Did check it in Firefox and was really happy that's working . Now i did try it in IE6, IE7 and IE8, the result is really frustrating (why Bill Gates are you doing this??). The store is on the left side, not in the center :-/

This is main.IE6.css:
#page-container {
height: 100%;
margin: 0px auto;
width: 1024px;
text-align: left;
position: relative;
border-left: 0px solid #ffffff;
}
#page-container2 {
float: left;
margin-left: 0px;
position: relative;
height: 620px; /* bottom-expand */
background:#FFFFFF url(images/custom/pagebg.gif) repeat-x scroll 0 0;
}

main.IE7.css:
no special setups fot that...

Does anybody has an idea i to solve that?

Is it not needed to have an main.IE8.css ?? Because i can't see any.

Thanks a lot.

Regards
Manuel
__________________
X-Cart Gold 4.2.1

Add-on: X-Affiliate
Add-on: X-FancyCategories
Add-on: X-SpecialOffers
Add-on: X-Survey
Add-on: X-AOM (Advanced Order Management)

Newest Added products list by BCS Engineering
X-Cart Multiple Manufacturers v4.x by X-CartMods
Reply With Quote
  #2  
Old 06-12-2009, 06:25 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: CSS troubles IE Versions

Might be due to the layout being in 'quirks mode', try commenting out this line from skin1/customer/home.tpl
Code:
<?xml version="1.0" encoding="{$default_charset|default:"iso-8859-1"}"?>
...although that may have a negative impact elsewhere.
__________________
xcartmods.co.uk
Reply With Quote
  #3  
Old 06-12-2009, 07:08 AM
 
info@mea.li info@mea.li is offline
 

Member
  
Join Date: Apr 2009
Location: Switzerland
Posts: 13
 

Default Re: CSS troubles IE Versions

Thanks for your answer Phil. Unfortunately that does not solve my problem, IE6 layout is now totally messed up and has no effect on IE7 layout. I did undo this change now.

Any other ideas how to solve that?

Regards
__________________
X-Cart Gold 4.2.1

Add-on: X-Affiliate
Add-on: X-FancyCategories
Add-on: X-SpecialOffers
Add-on: X-Survey
Add-on: X-AOM (Advanced Order Management)

Newest Added products list by BCS Engineering
X-Cart Multiple Manufacturers v4.x by X-CartMods
Reply With Quote
  #4  
Old 06-12-2009, 07:31 AM
  hoosierglass's Avatar 
hoosierglass hoosierglass is offline
 

X-Adept
  
Join Date: Aug 2006
Location: Zionsville, IN
Posts: 974
 

Default Re: CSS troubles IE Versions

You really need to edit your signature so we know which version you are working with.
__________________
X-Cart Gold 4.7.7
Custom Work from www.luminointernet.com
www.indy-pen-dance.com
Reply With Quote
  #5  
Old 06-14-2009, 11:27 PM
 
info@mea.li info@mea.li is offline
 

Member
  
Join Date: Apr 2009
Location: Switzerland
Posts: 13
 

Default Re: CSS troubles IE Versions

hi hoosierglass

i did update signature now...

regards
manuel
__________________
X-Cart Gold 4.2.1

Add-on: X-Affiliate
Add-on: X-FancyCategories
Add-on: X-SpecialOffers
Add-on: X-Survey
Add-on: X-AOM (Advanced Order Management)

Newest Added products list by BCS Engineering
X-Cart Multiple Manufacturers v4.x by X-CartMods
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 05:08 AM.

   

 
X-Cart forums © 2001-2020