Zen Cart Logo
Forums / General Questions / Trouble styling middle row of table apperence

Trouble styling middle row of table apperence

Locked

Views: 925

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
6 Jun 2008, 7:46 PM
#1
jamesdavid avatar

jamesdavid

Zen Follower

Join Date:
Apr 2008
Posts:
193
Plugin Contributions:
0

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

6 Jun 2008, 10:37 PM
#2
jballotti avatar

jballotti

New Zenner

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

Re: Trouble styling middle row of table apperence

jamesdavid:

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

7 Jun 2008, 9:39 AM
#3
jamesdavid avatar

jamesdavid

Zen Follower

Join Date:
Apr 2008
Posts:
193
Plugin Contributions:
0

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