Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Whole site aligned left in IE???

Whole site aligned left in IE???

Locked

Views: 1,080

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
30 Apr 2009, 3:40 AM
#1
zingslings avatar

zingslings

New Zenner

Join Date:
May 2007
Posts:
70
Plugin Contributions:
0

Whole site aligned left in IE???

http://naturalgoodies.net/zencart/

The site looks fine in firefox, but in IE everything is on the left? Any suggestions?

30 Apr 2009, 4:40 AM
#2
zingslings avatar

zingslings

New Zenner

Join Date:
May 2007
Posts:
70
Plugin Contributions:
0

Re: Whole site aligned left in IE???

When I tested this site on my server it worked fine in both FF and IE. But when I installed on my friends server it messed up. The only difference I can see, is when I view source (same site, different servers) her source info begins with:

<center><img src="/zencart/includes/templates/brown/images/logo.gif"></center><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
```whereas mine begins with:
```html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
```I don't know what file to go to in order to get rid of the img src  in the first line.  I check the header.php file and I have this:
```php
// added defines for header alt and text

  define('HEADER_ALT_TEXT', '');

  define('HEADER_SALES_TEXT', '');

  define('HEADER_LOGO_WIDTH', '');

  define('HEADER_LOGO_HEIGHT', '0px');

  define('HEADER_LOGO_IMAGE', '');
```I can't think of anywhere else the logo.gif could have been listed?
30 Apr 2009, 7:41 AM
#3
knothot avatar

knothot

New Zenner

Join Date:
Apr 2009
Posts:
10
Plugin Contributions:
0

Re: Whole site aligned left in IE???

mine was doing the same thing after I reloaded a stylesheet.css. Do you know where that line of code came from? What happens when you take it out?
I had to remove the background image from my stylesheet, load the page in both browsers, then add the bacground image link again. Not sure why it worked, but it did. I didn't change anything else.

30 Apr 2009, 12:10 PM
#4
zingslings avatar

zingslings

New Zenner

Join Date:
May 2007
Posts:
70
Plugin Contributions:
0

Re: Whole site aligned left in IE???

No clue where that code came from, the logo.gif is a file from another template she used to use. The site works fine on my server where I tested it: https://www.zingslings.com/awe but on her server that code is in there somehow and I can't find where to take it out at. The only place I see the img src=.......logo.gif is in the html when I 'view source'. I don't see it in any of the files.