How to make ":last-child" selector work in IE 7 and 8 ? Could anyone illustrate with a clear example on this ?
Asked
Active
Viewed 1,927 times
1
-
I think this would depend on your specific use case. – Felix Kling Sep 20 '13 at 08:55
-
I hate to say that, but I think your solution is in [this topic](http://stackoverflow.com/a/3786484/1071486). – aymericbeaumet Sep 20 '13 at 08:57
-
1possible duplicate of [:last-child psuedo class selector in CSS and Internet Explorer](http://stackoverflow.com/questions/3786434/last-child-psuedo-class-selector-in-css-and-internet-explorer) – rorypicko Sep 20 '13 at 08:59
-
I tried what you have suggested @abeaumet.It didn't work out.It seems that selectivizr.js works. – dpen82 Sep 20 '13 at 09:57
1 Answers
0
It's not clear about topic of your question, but I will try to answer
If you talk about usual menu, you can use :first-child
selector with inverting border from border-right
to border-left

Vladimir Starkov
- 19,264
- 8
- 60
- 114