I have a table that is styled with CSS.
each row's TD has a border-bottom, and the entire table has its own border.
The last row collides with the bottom border of the table. I'm using CSS2 to fix this:
now, as you can guess, i'm running into issues with IE. (SURPRISE!)Code:table>tr:last-child td{ border:none; }![]()
so i have a solution where i manually tag the last LI with something like .lastItem
Since this page will be the template for most pages in a CMS, I dont want to leave it to the editor (either the content person or the CMS itself) to remember to put the class on the last item. Also, I'm trying to avoid the issue of an edit to the classes where another item is added to the table.
Does anyone know of a method to fool IE into behaving? I started to write some DOM scripting that began to work, but I ran into issues identifying the rows.
any other ideas?







Bookmarks