Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2004
    Location
    Oxford
    Posts
    108
    Plugin Contributions
    0

    Default 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

  2. #2
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Right hand margin of tables overlap width of site

    Quote Originally Posted by spinnywoman View Post
    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

  3. #3
    Join Date
    Jul 2004
    Location
    Oxford
    Posts
    108
    Plugin Contributions
    0

    Default 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

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default 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

  5. #5
    Join Date
    Jul 2004
    Location
    Oxford
    Posts
    108
    Plugin Contributions
    0

    Default 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

 

 

Similar Threads

  1. Right margin on right sidebox
    By wotnow in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 22 Jul 2010, 12:15 PM
  2. Right hand margin space >.<
    By prim0pyr0 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 4 Aug 2009, 01:09 PM
  3. Right Hand Columns
    By dwessell in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 4 Dec 2008, 04:05 PM
  4. CSS/Tables margin/padding issue
    By jamieboulder in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 15 Feb 2008, 04:10 PM
  5. Removing the left hand margin in 1.3.1?
    By organism in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 30 May 2006, 02:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg