Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / IE6 .clearBoth and header

IE6 .clearBoth and header

Locked

Views: 1,425

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
20 Oct 2006, 11:41 AM
#1
bobblebob avatar

bobblebob

New Zenner

Join Date:
Oct 2006
Posts:
19
Plugin Contributions:
0

IE6 .clearBoth and header

Hello

In IE6 the .clearBoth css class creates a white box in the header in the site I'm bulbing. Here is an image of the problem .

Does anyone know how I can get rid of it?

Darren

20 Oct 2006, 11:51 AM
#2
seethrou avatar

seethrou

Totally Zenned

Join Date:
May 2004
Location:
Hong Kong
Posts:
1,156
Plugin Contributions:
0

Re: IE6 .clearBoth and header

A url will help you get more accurate answers. :smile:

.

20 Oct 2006, 1:48 PM
#3
bobblebob avatar

bobblebob

New Zenner

Join Date:
Oct 2006
Posts:
19
Plugin Contributions:
0

Re: IE6 .clearBoth and header

The URL is http://www.beatrice-bray.co.uk In other browsers the white box doesnt appear. I tried removing the .clearBoth class but as expected that didn't work as it poshed all the main content over to the right.

The header wrapper is set to have the orange background, so I would have thought that all nested ids and classes would inherit those values.

20 Oct 2006, 2:14 PM
#4
seethrou avatar

seethrou

Totally Zenned

Join Date:
May 2004
Location:
Hong Kong
Posts:
1,156
Plugin Contributions:
0

Re: IE6 .clearBoth and header

May be you have a </div> more, it seems should not be there.

<!--eof-branding display-->
<!--eof-header logo and navigation display-->

<!--bof-header ezpage links-->
<!--eof-header ezpage links-->
[b]</div>[/b]

<table width="100%" border="0" cellspacing="0" cellpadding="0" id="contentMainWrapper">
  <tr>
20 Oct 2006, 2:24 PM
#5
seethrou avatar

seethrou

Totally Zenned

Join Date:
May 2004
Location:
Hong Kong
Posts:
1,156
Plugin Contributions:
0

Re: IE6 .clearBoth and header

Oops!
Sorry, false alarm! :blush:

20 Oct 2006, 3:32 PM
#6
seethrou avatar

seethrou

Totally Zenned

Join Date:
May 2004
Location:
Hong Kong
Posts:
1,156
Plugin Contributions:
0

Re: IE6 .clearBoth and header

The following seems fix the problem. :smile:

#tagline {
	color:white;
	font-size: 2em;
	text-align : center;
	vertical-align: middle;
	background: #F06A26;
	height: 90px; /* add equal to the logo's height  */ 
	}
20 Oct 2006, 3:52 PM
#7
bobblebob avatar

bobblebob

New Zenner

Join Date:
Oct 2006
Posts:
19
Plugin Contributions:
0

Re: IE6 .clearBoth and header

seethrou:

The following seems fix the problem. :smile:

#tagline {
color:white;
font-size: 2em;
text-align : center;
vertical-align: middle;
background: #F06A26;
height: 90px; /* add equal to the logo's height */
}


Thank you so much, that's done it. There is a slight problem now in ff, now with the screen width  re-sized to about 850px the tagline text can overspill on to the breadcrumb but I can live with that - after all how often does that happen.

Thanks again for your help

Darren
20 Oct 2006, 4:03 PM
#8
seethrou avatar

seethrou

Totally Zenned

Join Date:
May 2004
Location:
Hong Kong
Posts:
1,156
Plugin Contributions:
0

Re: IE6 .clearBoth and header

May be trim off some part of the right side of the logo (the red color part), and the left side with graphic is only about 530px) of the logo.
Since the right side of you logo are same color with the tagline and other area.
This may give more spaces to the tagline to swing if the width is not sufficient.

.

20 Oct 2006, 4:54 PM
#9
seethrou avatar

seethrou

Totally Zenned

Join Date:
May 2004
Location:
Hong Kong
Posts:
1,156
Plugin Contributions:
0

Re: IE6 .clearBoth and header

Some more refinements, after trim off the right part of the red color section of the logo. It become about 520 x 90 px.
And below seems with better results for the vertical align. And with a little bit less of side effect while the width change.

#taglineWrapper {
	height: 90px;
}
	
#tagline {
	color: white;
	font-size: 2em;
	text-align: center;
	background: #F06A26;
	padding: 35px 0;
	}