Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Spacing issues in different browsers.

Spacing issues in different browsers.

Locked

Views: 3,093

Results 21 to 26 of 26
This thread is locked. New replies are disabled.
12 Feb 2008, 8:31 AM
#21
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Spacing issues in different browsers.

The actual problem is not obvious because the #productGroupWrapper2 has a margin-top:-12.8em; which brings it up higher than it would normally be. The right-floated elements are affected by the clearBoths on elements inside the left-floated wrapper.

12 Feb 2008, 9:22 PM
#23
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Spacing issues in different browsers.

Try:

#productGroupWrapper2 {
    float:right;
    padding:0.5em;
    margin-top:0em;
    width:360px;
    height: auto;
    min-height:100px;
    background: #EFEFEF;
    text-align: left;
    border: 1px solid #C9DCFA;
}

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

12 Feb 2008, 9:39 PM
#24
orchard_direct avatar

orchard_direct

Zen Follower

Join Date:
Aug 2007
Location:
Brighton, UK
Posts:
204
Plugin Contributions:
0

Re: Spacing issues in different browsers.

yellow1912:

Try:

#productGroupWrapper2 {
float:right;
padding:0.5em;
margin-top:0em;
width:360px;
height: auto;
min-height:100px;
background: #EFEFEF;
text-align: left;
border: 1px solid #C9DCFA;
}


Lol nearly worked, since u took the left margin out it has bought all the items up below it, definitely an improvement, nearly there!
12 Feb 2008, 9:43 PM
#25
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Spacing issues in different browsers.

Orchard_Direct:

Lol nearly worked, since u took the left margin out it has bought all the items up below it, definitely an improvement, nearly there!

Since you are floating the 2 divs, if you want to leave the items below them there you have to have this right after the 2 floating divs

<div class="clearBoth"></div>

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me