Forums

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

Home Forums CSS last-child selector – issue in IE Re: last-child selector – issue in IE

#92125
jamygolden
Member

Are you sure it’s just IE with that problem? It look like you’re trying to cover up the gap at the end by adding padding to the last-child list item. So if that’s what you’re trying to do, it wasn’t working in my FireFox 8 either because you weren’t giving enough padding: http://jsfiddle.net/7rSMc/3/

Here is another way of doing it (I’d say this is a better way): http://jsfiddle.net/7rSMc/2/