I want to insert my image within search result anchor(say google search results).
<a href="http://www.codeproject .com">Code Project <!-- Google search result link-->
<img src="myimage.pn g" style="text-decoration:none "/> - My Code
</a>
Used javascript to parse the google search page, collect search results and to insert the above said image.
In IE, the image was displayed without underline as we applied textDecoration style as none. Whereas in FireFox 2.0/3.0, it was displayed with underline.
If we apply textdecoration style as none to search result anchor, both search text and image is not underlined.
We believe that our image element is inheriting the anchor styles.
We tried the above html code in a prototype and it works fine. Problem occurs only when u do with the search page in FF.
Pls. let me know your thoughts on fixing this problem.
Thanks in advance.
<a href="http://www.codeproject .com">Code Project <!-- Google search result link-->
<img src="myimage.pn g" style="text-decoration:none "/> - My Code
</a>
Used javascript to parse the google search page, collect search results and to insert the above said image.
In IE, the image was displayed without underline as we applied textDecoration style as none. Whereas in FireFox 2.0/3.0, it was displayed with underline.
If we apply textdecoration style as none to search result anchor, both search text and image is not underlined.
We believe that our image element is inheriting the anchor styles.
We tried the above html code in a prototype and it works fine. Problem occurs only when u do with the search page in FF.
Pls. let me know your thoughts on fixing this problem.
Thanks in advance.
Comment