1 reply [Last post]
lingobassist
lingobassist's picture
User offline. Last seen 2 years 14 weeks ago. Offline
newbie
Joined: 2010-02-09
Posts: 1
Points: 2

hey ive created a table and having immense problems with borders i can get a border round the whole table but not the around the rows as a whole the header i dont want bordered I just need a border around the outside of all rows nothing round the individual cells or the table headers.

//
table {
float: middle;
width:100%;
border-collapse: collapse;
background-color:blue;
text: align:left;
font-family: arial;
}

td{border-top: 5px solid #000; border-bottom: 5px solid #000; padding: 0.4em; }
//

all i have is this for my css I CANT for specific reasons.

josephbm91
josephbm91's picture
User offline. Last seen 2 years 9 weeks ago. Offline
rank Regular
Regular
Timezone: GMT-5
Joined: 2010-02-07
Posts: 17
Points: 17

Maybe try having cells in the

Maybe try having cells in the first row with a top border, cells in the first column to have a left border, cells in the last column to have a right border, and cells in the last row to have a bottom border. Use classes.

I'm not sure if you can stick a div in the middle of a table. If you can, you could try putting it after the s. and after the last , and give that div a border.