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

Firefox-Safari-Internet Explorer issues

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-06-2005, 11:01 AM
 
philipcox philipcox is offline
 

Advanced Member
  
Join Date: Jul 2005
Posts: 71
 

Default Firefox-Safari-Internet Explorer issues

I have edited my css file to look the way I want and it looks great in Safari. But it looks completely different in IE and Firefox! All three look different! How can I make sure that the changes I make to the CSS file are shown in all three?!

Here is my testing site:
http://server5.alwayswebhosting.com/~mountain/store/home.php
__________________
Philip Cox
version 4.0.14
Reply With Quote
  #2  
Old 08-06-2005, 01:50 PM
  EnriqueHavoc's Avatar 
EnriqueHavoc EnriqueHavoc is offline
 

eXpert
  
Join Date: Jul 2004
Posts: 232
 

Default

The only way i know is to install all 3 browsers and every time you make a change to check it on all 3 :P sucks eh
__________________
X-Cart 4.0.12
PHP 4.3.11
MySQL 4.0.23
Linux/Apache
Net::SSLeay 1.25
libCURL libcurl/7.12.0 OpenSSL/0.9.7a zlib/1.1.4
www.ewdhosting.com
Reply With Quote
  #3  
Old 08-06-2005, 03:06 PM
 
philipcox philipcox is offline
 

Advanced Member
  
Join Date: Jul 2005
Posts: 71
 

Default

But there has to be something wrong with the way the browsers are actually reading the CSS syntax. Does anyone know which tags Firefox and IE are reading differently than Safari? I have no idea what changes to make in order for the problems to be fixed.
__________________
Philip Cox
version 4.0.14
Reply With Quote
  #4  
Old 08-07-2005, 01:03 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Unfortunately, each browser has different 'quirks' with certain CSS elements. You just need to test and re-test on each browser until you get it working the way you want.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 08-07-2005, 08:53 PM
  Dongan's Avatar 
Dongan Dongan is offline
 

X-Wizard
  
Join Date: Jul 2005
Location: www.mercuryminds.com
Posts: 1,531
 

Default

Hi,

You have to test at every time, you find the relevant tags that is suitable for all the browsers.

Important notes:

1) Try to use Padding and margin for alignment. If you find that padding does't support well by Firefox, use Margin. But, note that margin is not well supported by IE. So, here is the trick...

BODY
{
margin-top:10px; /* Comaptible for FireFox */
}

* html body
{
margin-top:10px /* compatible for IE and only recognized by IE, not Firefox */
}

2) Try to avoid using tables as much as possible.

3) If you have any hidden fields, IE creates some whitespace for this, But, it is not visible. But, Firefox does't make any changes. So, Take care of hidden fields when the white space is important in concern with the designing.
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 01:33 AM.

   

 
X-Cart forums © 2001-2020