CSS Make one row the width of another
- by gav
I'm sure this is a fairly common problem but I'm new to CSS so I'm not sure how it's done. I tried searching for the issue but sometimes it's tricky to get the right keywords.
I have a table the width of which I want to be constrained by a specific row. My table css is as follows;
table {
border: 1px solid #ccc;
width: auto;
…