If this is your first visit, check our documentation. To post, register or login.
Forums / Templates, Stylesheets, Page Layout / Right hand margin of tables overlap width of site

Right hand margin of tables overlap width of site

Locked

Started by spinnywoman on 15 Nov 2008, 2:12 PM · Views: 1,151

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
15 Nov 2008, 2:12 PM
#1
spinnywoman avatar

spinnywoman

Zen Follower

Join Date:
Jul 2004
Location:
Oxford
Posts:
101
Plugin Contributions:
0

Right hand margin of tables overlap width of site

http://www.thelittleknittingcompany.co.uk

I'm not sure if it's the same problem but if you look at the Home breadcrumb line you can see a white gap on the right hand side (where the mainWrapper 1px border should be).

Also, the New Products and upcoming products tables overlap this 1px border.

I'm thinking that I must have some duplicated CSS somewhere but have been going round and round in circles for weeks trying to track down the root of this little layout issue.

Can anyone shed any light please?

Ruth

15 Nov 2008, 2:44 PM
#2
haredo avatar

haredo

Totally Zenned

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

Re: Right hand margin of tables overlap width of site

spinnywoman:

http://www.thelittleknittingcompany.co.uk

I'm not sure if it's the same problem but if you look at the Home breadcrumb line you can see a white gap on the right hand side (where the mainWrapper 1px border should be).

Also, the New Products and upcoming products tables overlap this 1px border.

I'm thinking that I must have some duplicated CSS somewhere but have been going round and round in circles for weeks trying to track down the root of this little layout issue.

Can anyone shed any light please?

Sp,
Since you are using a table template

The width of the navMainWrappper is 763 width, should be 750px.
Also the navBreadCrumb is the same

  1. need to edit the table template you are using

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

17 Nov 2008, 10:40 AM
#3
spinnywoman avatar

spinnywoman

Zen Follower

Join Date:
Jul 2004
Location:
Oxford
Posts:
101
Plugin Contributions:
0

Re: Right hand margin of tables overlap width of site

Haredo - many thanks for your reply. I am not intentionally using a table based layout. The table on the index page content is purely to get around the layout issues...

navMainWrapper and navBreadCrumb did not have a width value. Have given both 750px to no avail.

Ruth

17 Nov 2008, 12:19 PM
#4
stevesh avatar

stevesh

Black Belt

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

Re: Right hand margin of tables overlap width of site

This seems to fix everything when I test your site in FF Web Developer:

#navBreadCrumb {
padding-left:10px;
background-color: #ffffff;
font-size: 0.95em;
font-weight: bold;
margin-top: 4em;
color: #53266d;
width: 740px;
}

Removed the float:left;

Added padding to move breadcrumbs away from border

Made breadcrumb width les than mainWrapper

19 Nov 2008, 12:02 PM
#5
spinnywoman avatar

spinnywoman

Zen Follower

Join Date:
Jul 2004
Location:
Oxford
Posts:
101
Plugin Contributions:
0

Re: Right hand margin of tables overlap width of site

stevesh

Thank you - works a charm (of course).

Still got the issue further down the page - any ZenCart produced tables (New Products, Upcoming Products for example) are nudged over the border. Hmm, only on index page, so what have I done differently here? I have used a table within in my define_main_page because I wanted to have the 3x3 squares - don't believe this should affect anything beneath it though...

Ruth