I have a lot of text within a DIV
. I would like to be able to search it on a string using perhaps a PHP regex then find the y
position of that text that is searched on so I can place an image next to it.
I believe this would be the best way of doing it, I am unsure. However, I can't figure out how to determine how many pixels from the top of the screen that line is. Any recommendations?