Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Content falling out the bottom of centerColumn

Content falling out the bottom of centerColumn

Locked

Views: 1,471

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
20 Feb 2007, 3:03 PM
#1
richter avatar

richter

New Zenner

Join Date:
Jan 2007
Posts:
59
Plugin Contributions:
0

Content falling out the bottom of centerColumn

Hello all, I having a problem with the 'centerColumn' content area.

My problem is with content appearing to fall out the bottom of this centerColumn box. It is noticible on my site because I have a border around the centerColumn content area.

I think the problem is with the <br class="clearBoth" /> not taking effect in IE7. I understand the job that this clearBoth class is trying to do, BUT its not working on IE7.
IE 6, Firefox 2.0, opera 9 (PC browsers) all work perfectly

Viewing in IE 7, you can see the problem here: http://www.untitled-project.com/zen-cart-en/
And note I have put a pink background color on the <br class="clearBoth" /> so you can see where it is :)

Any suggestions would be greatly appreciated!

(btw, just for reference, in skinning this site I have only edited the CSS, not the template)

Cheers, Richter

20 Feb 2007, 3:12 PM
#2
richter avatar

richter

New Zenner

Join Date:
Jan 2007
Posts:
59
Plugin Contributions:
0

Re: Content falling out the bottom of centerColumn

Also:
-It is most noticeable on my homepage because images are falling out the bottom, but on other pages some buttons are.

-the css code for the clearBoth class currently is:

.clearBoth {
clear: both;
background-color: pink;
}

20 Feb 2007, 3:19 PM
#3
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,845
Plugin Contributions:
0

Re: Content falling out the bottom of centerColumn

add height: 1%; to .centerBoxWrapper

21 Feb 2007, 12:48 PM
#4
richter avatar

richter

New Zenner

Join Date:
Jan 2007
Posts:
59
Plugin Contributions:
0

Re: Content falling out the bottom of centerColumn

Brilliant Barco! it works!
I think you meant .centerColumn need to have height:1%; but I got what you meant.

I dont suppose you know whytf?? It works but I dont understand why!
As I understand CSS that .clearBoth should have done the job.

Big thanks
Richter

21 Feb 2007, 8:19 PM
#5
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Content falling out the bottom of centerColumn

richter:

Brilliant Barco! it works!
I think you meant .centerColumn need to have height:1%; but I got what you meant.

I dont suppose you know whytf?? It works but I dont understand why!
As I understand CSS that .clearBoth should have done the job.

Big thanks
Richter

It's just another one of IE's bugs dealing with floats. That fix is called the "Holly Hack".

3 Sep 2007, 5:56 PM
#6
francesca avatar

francesca

New Zenner

Join Date:
Aug 2007
Posts:
25
Plugin Contributions:
0

Re: Content falling out the bottom of centerColumn

Hi,
I'm having the same problem but it seems that the anti-IE bug trick has been already added...
Any other suggestions? I don't like IE7 :no:

http://www.testingdomains.co.uk/

3 Sep 2007, 10:06 PM
#7
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Content falling out the bottom of centerColumn

francesca:

Hi,
I'm having the same problem but it seems that the anti-IE bug trick has been already added...
Any other suggestions? I don't like IE7 :no:

http://www.testingdomains.co.uk/

I didn't have time to look at your site in IE7, but I notice that both stylesheet_new.css and stylesheet_original.css are functioning. Delete stylesheet_original.css from the server, OR rename it stylesheet_original.bak (.bak meaning backup), so that both stylesheets aren't applied, where they may override each other. That could easily be your issue.