While using :first-child :last-child , in css its works fine in IE7, FF.
Is there any possible fix for this.
Use of Javascript is fine. If it works without j
You can use a semantic class name to ease your suffering in IE6. Something like:
First Item Second Item Last Item
And then in your CSS use:
ul .first { color: #F00; } ul .last { color: #00F; }