Forums / Templates, Stylesheets, Page Layout / Removing ugly gap (with SSs and URL to site)

Removing ugly gap (with SSs and URL to site)

Locked

Views: 1,274

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
13 Sep 2007, 3:32 PM
#1
jeronimoh avatar

jeronimoh

New Zenner

Join Date:
Sep 2007
Posts:
7
Plugin Contributions:
0

Removing ugly gap (with SSs and URL to site)

Hi. I'm setting this site up. Can anybody help me get rid of the gap encircled in screenshot1.jpg?. Also, if anybody can point me in the direction of getting the headline the way it is in home.jpg. Thanks in advance.

13 Sep 2007, 4:20 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Removing ugly gap (with SSs and URL to site)

First off your logo is not contained inside the logoWrapper div as you have placed the #logo tag as -200px
I suggest that you rearrange this and apply the background image only to the logoWrapper and give it a width of 200px to facilitate your design. Then you will not need the -200px for #logo as the container will be positioned correctly

Zen-Venom Get Bitten

13 Sep 2007, 4:27 PM
#3
jeronimoh avatar

jeronimoh

New Zenner

Join Date:
Sep 2007
Posts:
7
Plugin Contributions:
0

Re: Removing ugly gap (with SSs and URL to site)

kobra:

First off your logo is not contained inside the logoWrapper div as you have placed the #logo tag as -200px
I suggest that you rearrange this and apply the background image only to the logoWrapper and give it a width of 200px to facilitate your design. Then you will not need the -200px for #logo as the container will be positioned correctly

Ok, I'll do it. You think this will get rid of the gap?

13 Sep 2007, 4:47 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Removing ugly gap (with SSs and URL to site)

Ok, I'll do it. You think this will get rid of the gap?
I did not see a "GAP" per se from your pics What I did see is the background repeating across the width and doing what I stated will move the background image to the logoWrapper where you want it and not in the body tag(remove it from the body tag)

Zen-Venom Get Bitten

13 Sep 2007, 8:35 PM
#5
jeronimoh avatar

jeronimoh

New Zenner

Join Date:
Sep 2007
Posts:
7
Plugin Contributions:
0

Re: Removing ugly gap (with SSs and URL to site)

kobra:

I did not see a "GAP" per se from your pics What I did see is the background repeating across the width and doing what I stated will move the background image to the logoWrapper where you want it and not in the body tag(remove it from the body tag)

Can you take a look, it didn't work out..

14 Sep 2007, 12:35 AM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Removing ugly gap (with SSs and URL to site)

Several adjustments and note that I am limited as to what I can see and then cross browser viewing changes - as you need to make these and then all can see any remaining issues.

Also, "it didn't work out.." is not descriptive as I do see some change - so being more specific allows others to assist also.

try altering, seperating etc so that you end up with this(these are in order of appearance and not exactly as they appear) - and always maintain a copy of your original...

#logo {
	float: left;
	position: relative;	
}

#logoWrapper {
	height: 65px;
	background-image: url(../images/fondo70.jpg);
	width: 200px;
}

#navMainWrapper {
        width: 75%;
        float: right;
        clear: none;
}

#navMainWrapper ul li a:link {
	font-weight: bold;
	color: #34A02C;
	height: 1%;
	width: 75%;
	text-align: right;
	margin-left: 200px;
	background-color: White;
}

Zen-Venom Get Bitten

15 Sep 2007, 9:27 PM
#7
jeronimoh avatar

jeronimoh

New Zenner

Join Date:
Sep 2007
Posts:
7
Plugin Contributions:
0

Re: Removing ugly gap (with SSs and URL to site)

I made the changes, but still no go. I can't figure out where that gap comes from.

15 Sep 2007, 10:42 PM
#8
jeronimoh avatar

jeronimoh

New Zenner

Join Date:
Sep 2007
Posts:
7
Plugin Contributions:
0

Re: Removing ugly gap (with SSs and URL to site)

It worked with your image, you are the master of Zen-Cart. Thanks a lot. Can you draw any conclusions on this?

15 Sep 2007, 10:46 PM
#9
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Removing ugly gap (with SSs and URL to site)

Only that rearranging the header as you have caused other issues and these might have been avoided initially but I was working with what you had.

Zen-Venom Get Bitten

17 Sep 2007, 7:08 PM
#10
jeronimoh avatar

jeronimoh

New Zenner

Join Date:
Sep 2007
Posts:
7
Plugin Contributions:
0

Re: Removing ugly gap (with SSs and URL to site)

On FireFox works perfectly, but on IE the gap still shows... any suggestions? Thanks.