Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2008
    Posts
    193
    Plugin Contributions
    0

    Default Trouble styling middle row of table apperence

    Im trying to style a table so there is a red line under each row. You can see my attempt here;
    http://www.jameschetwood.com/menu/tableissue.jpg

    Ive managed to put a line under the top and bottom row but not the middle one.
    Ive checked with firebug and there doesn't seem to be any other CSS overriding.
    When I hover over my html inspector in firebug it shows that there is a line applied to this row, which makes me think it might be a padding issue, pushing the line out of sight.

    Here is my code;
    .tableHeading TH, .tableHeading {
    border-bottom: 6px solid red;
    }
    .tableHeading TH, .rowEven {
    border-bottom: 6px solid red;
    }
    #cartSubTotal {
    border-bottom: 6px solid red;
    }

    I would really appreciate some help on this as ive searched the forums and couldn't find any posts on this.

    thanks
    james

  2. #2
    Join Date
    Mar 2008
    Posts
    54
    Plugin Contributions
    0

    Default Re: Trouble styling middle row of table apperence

    Quote Originally Posted by jamesdavid View Post
    Im trying to style a table so there is a red line under each row. You can see my attempt here;
    http://www.jameschetwood.com/menu/tableissue.jpg

    Ive managed to put a line under the top and bottom row but not the middle one.
    Ive checked with firebug and there doesn't seem to be any other CSS overriding.
    When I hover over my html inspector in firebug it shows that there is a line applied to this row, which makes me think it might be a padding issue, pushing the line out of sight.

    Here is my code;
    .tableHeading TH, .tableHeading {
    border-bottom: 6px solid red;
    }
    .tableHeading TH, .rowEven {
    border-bottom: 6px solid red;
    }
    #cartSubTotal {
    border-bottom: 6px solid red;
    }

    I would really appreciate some help on this as ive searched the forums and couldn't find any posts on this.

    thanks
    james
    Try adding tr and/or td to the class .tableHeading
    James D Ballotti
    [email protected]

  3. #3
    Join Date
    Apr 2008
    Posts
    193
    Plugin Contributions
    0

    Default Re: Trouble styling middle row of table apperence

    Managed to do it with;

    .cartQuantity, .cartQuantityUpdate, .cartProductDisplay, .cartUnitDisplay,.cartTotalDisplay, .cartRemoveItemDisplay {
    border-bottom: 6px solid red;
    }

    Thanks everyone
    james

 

 

Similar Threads

  1. styling the row layout while using snaf
    By bn17311 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 3 Dec 2012, 07:44 PM
  2. Help with middle bar styling
    By toodamnbroke in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 2 Mar 2012, 06:23 AM
  3. Product listing table css styling
    By bigmo337 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 17 Jun 2010, 09:53 AM
  4. styling a table from the stylesheet
    By ktomas in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 28 Jul 2009, 01:13 PM
  5. Trouble extending middle column to the right
    By meeven in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 3 Sep 2007, 02:31 PM

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