Y
Hacker News
new
|
ask
|
show
|
jobs
by
Kilimanjaro
5152 days ago
CSS to the rescue
imgset img{display:none;} imgset img:first-child{display:block;}
Same with modern HTML5 tags, modernizer or any other tool would handle that for you.
1 comments
user24
5147 days ago
Not really, what about browsers that don't support first-child? Backwards compatibility is important.
link