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
May 20, 2013 at 1:02 pm
#135663
TheDoc
Member
For starters, `#contentWrapper:last-child` shouldn’t work because that’s an ID and there should only be one of those on the page. Update that to use a class instead.
Next: Codepen doesn’t work with PHP, since it doesn’t have access to your database. Copy/paste into Codepen what your PHP outputs.
**Edit:** I’ve done it for you: http://codepen.io/ggilmore/pen/ba9759aa592893b3490302a548df28de
So it’s working fine.
You likely have another bit of code after the last contentWrapper that is causing last-child to target that instead.