last-child CSS issues
- by Neurofluxation
Hey you guys (and girls),
I have implemented the following CSS:
#tab-navigation ul li:last-child {
background-image: url(../images/tabs-end.gif);
background-repeat: no-repeat;
color: #fff;
display: block;
border: 1px solid red;
background-position: right;
}
However, for some reason this is not working at all in IE (surprise!) - I read (after some research) that IE requires a DOCTYPE, but I already have <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> defined.
Any ideas peeps?