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

Member – changed this piece of css:

ul.dropdown li:last-child {
padding-right: 42px;
} – I added a couple of properties to this selector, namely the background, left and width properties:

ul.dropdown {
background: #647484;
font: 1.6em Verdana, Geneva, sans-serif;
position: absolute;
top: 103px;
left: 12px;
list-style: none;/*no bullets*/
width: 800px;