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

main.css X Cart v4.3.2.

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-07-2010, 04:39 AM
 
Jeremy Smith Jeremy Smith is offline
 

Senior Member
  
Join Date: Jan 2009
Posts: 167
 

Question main.css X Cart v4.3.2.

Just getting back to my old roots at the moment.

I am having problems with the above version, it all started going wrong when I put:

Code:
/* page layout */ #content-container { clear: both; float: left; overflow: hidden; position: relative; width: 100%; padding-bottom: 39px; margin-top: 140px; background-color:#FFFFFA; border-left:1px solid #D4D3CF; border-right:1px solid #D4D3CF; border-top:1px solid #D4D3CF; border-bottom:1px solid #D4D3CF; padding:10px !important; }

Whats happening is, when I place the above css in the relevant css element '#content-container', it displays incorrectly in Internet explorer 8 (fine in Firefox of course!) but I have forgotten the skills to get around cross browser compatibility, grrr!!!

Can someone help?

The original css for this element was:
Code:
/* page layout */ #content-container { clear: both; float: left; overflow: hidden; position: relative; width: 100%; padding-bottom: 39px; margin-top: 140px; }

Any help is greatly appreciated thanks,
Jeremy
__________________
Version 4.1.11 on Linux (Fedora)
X-Cart Gold
Reply With Quote
  #2  
Old 06-07-2010, 07:05 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: main.css X Cart v4.3.2.

Not sure what displayes incorrectly for you but this line

padding:10px !important;

overrides this line

padding-bottom: 39px;

so the bottom padding will be 10px as well instead of 39px
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 06-08-2010, 12:16 AM
 
Jeremy Smith Jeremy Smith is offline
 

Senior Member
  
Join Date: Jan 2009
Posts: 167
 

Lightbulb Re: main.css X Cart v4.3.2.

You know what?

Your a star, I will try and sort out a margin from the top perhaps.

Its just soo annoying the way Internet Explorer tries to work with what its got and then does the presentation, whereas FF just does it more compliant based.

You'd have thought that with IE being the majority browser they would be more compliant wouldnt you?

But no matter what, thanks ever so much, its straightened out by the sides left and right, just need some kind of top margin so that it shows a gap between the header and the main content.
__________________
Version 4.1.11 on Linux (Fedora)
X-Cart Gold
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 01:33 PM.

   

 
X-Cart forums © 2001-2020