Zen Cart Logo

Strange IE6 issue.

Locked

Views: 826

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
31 Oct 2008, 1:43 PM
#1
rpain avatar

rpain

Zen Follower

Join Date:
Mar 2005
Location:
Watford, UK
Posts:
146
Plugin Contributions:
0

Strange IE6 issue.

Hi,

http://www.woolmer.co.uk/index.php

I seem to be getting a white gap between the header and the content but only in IE6 - IE7 and Firefox seem to be fine.

Any ideas?

Thanks,

Richard

31 Oct 2008, 3:43 PM
#2
kieren avatar

kieren

New Zenner

Join Date:
Aug 2006
Posts:
21
Plugin Contributions:
0

Re: Strange IE6 issue.

I'd have said the height applied using your block_top class is causing the problem.

However, your XHTML is invalid so the browser has to "interpret" your code and try and guess what you're trying to do (i.e. it tries to work round the mistakes). All sorts of odd things will happen in browsers if you don't write valid (X)HTML. See this URL for the errors:

http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.woolmer.co.uk%2Findex.php

The same goes for your CSS, which also contains errors:

http://jigsaw.w3.org/css-validator/validator?profile=css21&warning=0&uri=http%3A%2F%2Fwww.woolmer.co.uk%2Findex.php

Cheers

Kieren

31 Oct 2008, 3:46 PM
#3
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Strange IE6 issue.

You may be able to resolve this with a simple hack to your tpl_header.php file.

(The original of this resides in templates/template_default/common/tpl_header.php , so you'll need to make a copy of it, then save it to: templates/YOUR-CUSTOM-TEPLATE/common/tpl_header.php).

Find the following...

<?php } // no HEADER_SALES_TEXT or SHOW_BANNERS_GROUP_SET2 ?>
</div>
<br class="clearBoth" />
<!--eof-branding display-->

... and try COMMENTING OUT the <br class...> bit...

<?php } // no HEADER_SALES_TEXT or SHOW_BANNERS_GROUP_SET2 ?>
</div>
<!-- <br class="clearBoth" /> -->
<!--eof-branding display-->

If you use categories-tabs (categories in the header) or banners under the header, this may cause problems. Try it and see if it suits your needs.