Home › Forums › CSS › last-child selector – issue in IE › Re: last-child selector – issue in IE
December 7, 2011 at 12:25 pm
#92129
jamygolden
Member
http://jsfiddle.net/7rSMc/3/ – changed this piece of css:
ul.dropdown li:last-child {
padding-right: 42px;
}
http://jsfiddle.net/7rSMc/2/ – 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;
}