Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End border none last-child not working in php dynamic list Re: border none last-child not working in php dynamic list

#135732
jimmy
Participant

If the div you want to target is the last div in the given parent, you could use :last-of-type instead of :last-child.
Even if there’s something following your list, it won’t interfere then (unless it’s a div of course).