The :last-child
selector should do it, but it’s not supported in any version of IE.
I’m afraid you have no choice but to use a class.
More Related Contents:
- How to design a table like this
- Set cellpadding and cellspacing in CSS?
- Word-wrap in an HTML table
- How to deal with page breaks when printing a large HTML table
- HTML/CSS: Making two floating divs the same height
- CSS3’s border-radius property and border-collapse:collapse don’t mix. How can I use border-radius to create a collapsed table with rounded corners?
- Make a div fill the height of the remaining screen space
- Why doesn’t table > tr > td work when using the child selector?
- Table with fixed header and fixed column on pure css
- How to display scroll bar onto a html table
- Fixed header table with horizontal scrollbar and vertical scrollbar on
- How can I set the max-width of a table cell using percentages?
- Add a horizontal scrollbar to an HTML table
- Wrap text in tag
- CSS table-cell equal width
- Rounded table corners CSS only
- using text-align center in colgroup
- Giving a border to an HTML table row,
- overflow:scroll; in
- How can I apply a border only inside a table?
- Linethrough/strikethrough a whole HTML table row
- Equivalent to float in Outlook
- Table overflowing outside of div
- The border-radius property and border-collapse:collapse don’t mix. How can I use border-radius to create a collapsed table with rounded corners?
- Border around tr element doesn’t show?
- Should Tables be avoided in HTML at any cost?
- with fixed and scrollable [duplicate]
- CSS: display:block; vs display:table;
- Setting max-height for table cell contents
- How to make a table with equal column widths in CSS?