Zen Cart Logo
Forums / General Questions / Gap in container

Gap in container

Locked

Views: 3,666

Results 21 to 32 of 32
This thread is locked. New replies are disabled.
17 Sep 2008, 6:54 PM
#21
s_t_e_v_e avatar

s_t_e_v_e

Zen Follower

Join Date:
Aug 2006
Location:
UK
Posts:
430
Plugin Contributions:
0

Gap in container

strange... i see no gaps... (neither does my wife on her puter...)

17 Sep 2008, 6:58 PM
#22
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Gap in container

That's because they aren't there anymore, and the image in the center box header looks fine to me.

aerosmith - be sure to refresh your browser, and, if necessary, clear the cache.

One thing I would do is add a little padding-top to bring the center box down even with the sidebox (or less padding in the sidebox container to move it up).

17 Sep 2008, 7:24 PM
#23
aerosmith avatar

aerosmith

New Zenner

Join Date:
Jul 2008
Posts:
50
Plugin Contributions:
0

Re: Gap in container

stevesh:

That's because they aren't there anymore, and the image in the center box header looks fine to me.

aerosmith - be sure to refresh your browser, and, if necessary, clear the cache.

One thing I would do is add a little padding-top to bring the center box down even with the sidebox (or less padding in the sidebox container to move it up).

one of the pages is fine :) im using ie6
the front page,
http://www.itplace.biz/HealthDivine/
i see a gap

I cleared cach and still the same.

17 Sep 2008, 7:45 PM
#24
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Gap in container

Because you've put the image back in navBreadCrumb. It can't go there.

17 Sep 2008, 7:53 PM
#25
s_t_e_v_e avatar

s_t_e_v_e

Zen Follower

Join Date:
Aug 2006
Location:
UK
Posts:
430
Plugin Contributions:
0

Re: Gap in container

LOL The GAP is back!

17 Sep 2008, 8:02 PM
#26
aerosmith avatar

aerosmith

New Zenner

Join Date:
Jul 2008
Posts:
50
Plugin Contributions:
0

Re: Gap in container

I hate the gap :)

17 Sep 2008, 8:20 PM
#27
s_t_e_v_e avatar

s_t_e_v_e

Zen Follower

Join Date:
Aug 2006
Location:
UK
Posts:
430
Plugin Contributions:
0

Re: Gap in container

You have this in your stylesheet;

.centerBoxWrapper {
height: 1%;
margin: 1.1em 0;
}

and your html is;

<div id="whatsNew" class="centerBoxWrapper">

so....
.centerBoxWrapper {
height: 1%; /* the height is useless so delete it*/
margin: 50px 0; /* try this and watch that Gap get bigger... set to zero to fix...*/
}

or remove class="centerBoxWrapper" from the DIV

I know how frustratiing this can be.. stick with it.. I'm sure stevesh and myself will help you get it sorted... but it was fixed on my ie7 and ff3.. i dont have access to ie6 at the moment..

17 Sep 2008, 11:44 PM
#28
aerosmith avatar

aerosmith

New Zenner

Join Date:
Jul 2008
Posts:
50
Plugin Contributions:
0

Re: Gap in container

s_t_e_v_e:

You have this in your stylesheet;

.centerBoxWrapper {
height: 1%;
margin: 1.1em 0;
}

and your html is;

<div id="whatsNew" class="centerBoxWrapper">

so....
.centerBoxWrapper {
height: 1%; /* the height is useless so delete it*/
margin: 50px 0; /* try this and watch that Gap get bigger... set to zero to fix...*/
}

or remove class="centerBoxWrapper" from the DIV

I know how frustratiing this can be.. stick with it.. I'm sure stevesh and myself will help you get it sorted... but it was fixed on my ie7 and ff3.. i dont have access to ie6 at the moment..

Gap is gone :) just need to make the right hand side fixed and yay! :)

17 Sep 2008, 11:47 PM
#29
aerosmith avatar

aerosmith

New Zenner

Join Date:
Jul 2008
Posts:
50
Plugin Contributions:
0

Re: Gap in container

Wicked, i changed the width:632px; to width:630px;

and that fixed the offbalance right hand side.
I appreciate all the assistance!!!, You guys are the best!

18 Sep 2008, 1:19 AM
#30
aerosmith avatar

aerosmith

New Zenner

Join Date:
Jul 2008
Posts:
50
Plugin Contributions:
0

Re: Gap in container

Sorry again, :) is there a way to center the headers verticaly in Firefox. I already tried padding-top but it is still making problems i believe,
Thanks,

18 Sep 2008, 6:43 PM
#31
s_t_e_v_e avatar

s_t_e_v_e

Zen Follower

Join Date:
Aug 2006
Location:
UK
Posts:
430
Plugin Contributions:
0

Re: Gap in container

For the center box headings;

#HeadingText {
color:#FFFFFF;
font-family:Arial,Helvetica,sans-serif,Eurostile;
font-size:19px;
margin:0;
padding-top:5px;

text-align:center;
}

for the sidebox headings, you have html that looks like;

<h3 id="categoriesHeading" class="BoxHeader"> <div style="margin-top: 5px;"> Categories </div> </h3> so the CSS would be... .BoxHeader div {margin:0;padding-top:5px;}

BUT... this is a rather poor structure, a span would be better suited inside a h3 tag... or even changing things around to have the h3 tag inside the div (which is the opposite of what you have) but I am not sure how you are creating this structure.... and changing things around would impact your css again.

19 Sep 2008, 10:53 AM
#32
aerosmith avatar

aerosmith

New Zenner

Join Date:
Jul 2008
Posts:
50
Plugin Contributions:
0

Re: Gap in container

s_t_e_v_e:

For the center box headings;

#HeadingText {
color:#FFFFFF;
font-family:Arial,Helvetica,sans-serif,Eurostile;
font-size:19px;
margin:0;
padding-top:5px;

text-align:center;
}

for the sidebox headings, you have html that looks like;

<h3 id="categoriesHeading" class="BoxHeader"> <div style="margin-top: 5px;"> Categories </div> </h3> so the CSS would be... .BoxHeader div {margin:0;padding-top:5px;}

BUT... this is a rather poor structure, a span would be better suited inside a h3 tag... or even changing things around to have the h3 tag inside the div (which is the opposite of what you have) but I am not sure how you are creating this structure.... and changing things around would impact your css again.

I tried modifying he css, but still cant get the headers correct in FF