Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Part Of The Border Missing, But Why? Help Please

Part Of The Border Missing, But Why? Help Please

Locked

Views: 1,209

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
2 Apr 2008, 11:30 PM
#1
dpm avatar

dpm

Zen Follower

Join Date:
Mar 2008
Posts:
262
Plugin Contributions:
0

Part Of The Border Missing, But Why? Help Please

I've checked on Firefox and it seems that it has something to do with the sideboxes but i can't fix why the border around the nav main bar is missing above the side boxes on the left.

Any help would be very much appreciated!

https://www.dpmautostyling.co.uk

Thanks in advance!

3 Apr 2008, 12:05 AM
#2
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Part Of The Border Missing, But Why? Help Please

#navMainWrapper, #navSuppWrapper, #navCatTabsWrapper {
margin: -1px;
border: 1px solid #000000;
background-color: #3399FF;
font-weight: bold;
color: #000000;
height: 1%;
width: 100%;
}

The margin: -1px; is the problem. If you want this to apply to the other two (#navSuppWrapper, #navCatTabsWrapper), then split the code into two:-

#navSuppWrapper, #navCatTabsWrapper {
margin: -1px;
border: 1px solid #000000;
background-color: #3399FF;
font-weight: bold;
color: #000000;
height: 1%;
width: 100%;

#navMainWrapper, {
margin: 1px;
border: 1px solid #000000;
background-color: #3399FF;
font-weight: bold;
color: #000000;
height: 1%;
width: 100%;
}
}

3 Apr 2008, 12:10 AM
#3
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,176
Plugin Contributions:
0

Re: Part Of The Border Missing, But Why? Help Please

DPM:

I've checked on Firefox and it seems that it has something to do with the sideboxes but i can't fix why the border around the nav main bar is missing above the side boxes on the left.

D,
includes/ templates/ your_template/ templates/ stylesheet.css

Find the following declaration

#navColumnOne

Notice in your stylesheet you have two of these delete one...

Add the following to it

  1. #navColumnOne {border-top: solid 1px black;}
3 Apr 2008, 12:10 AM
#4
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Part Of The Border Missing, But Why? Help Please

Or try this one

change:

#navMainWrapper, #navSuppWrapper, #navCatTabsWrapper {
margin-left: -1px;
border: 1px solid #000000;
background-color: #3399FF;
font-weight: bold;
color: #000000;
height: 1%;
width: 100%;
}

3 Apr 2008, 12:14 AM
#5
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Part Of The Border Missing, But Why? Help Please

haredo:

D,
includes/ templates/ your_template/ templates/ stylesheet.css

Find the following declaration

#navColumnOne

Notice in your stylesheet you have two of these delete one...

Yes... but they are referring to different style attributes, so there's no conflict...

3 Apr 2008, 8:22 AM
#6
dpm avatar

dpm

Zen Follower

Join Date:
Mar 2008
Posts:
262
Plugin Contributions:
0

Re: Part Of The Border Missing, But Why? Help Please

I've got the

margin - 1px

like that to keep the nav bar in the middle as if i don't have that it goes 1px to the left. When the nav bar was 1px off centre i didn't have the border problem. I'll try the above and report back.

Thanks for your help!

3 Apr 2008, 8:45 AM
#7
dpm avatar

dpm

Zen Follower

Join Date:
Mar 2008
Posts:
262
Plugin Contributions:
0

Re: Part Of The Border Missing, But Why? Help Please

Marin-left: -1px wins the day, problem solved! Thanks again!

Now i just need to figure out what problem is making the homepage look different in Firefox to IE.

Thanks again, my head is now safe from exploding!

:clap:

3 Apr 2008, 11:45 AM
#8
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Part Of The Border Missing, But Why? Help Please

DPM:

Now i just need to figure out what problem is making the homepage look different in Firefox to IE.

Bill Gates...:D