by assaflavie · 12y ago · 0 comments
(just with divs instead of images)
It's very brittle though. It relies on knowing the line-height, calculating the line in which the highlighted word sits, accounting for the existence of vertical scroll-bars... not trivial.
Or am I missing something?
Edit: Yes, I do. It does not work together with images on the right side: http://jsfiddle.net/Nup2F/