Topic: Image Hyperlink Underline Problems
Hey all, I've been testing my website for any bugs, and stumbled upon one. It's a bit perplexing, but I'm sure it has an easy fix.
I have a modification on my website that allows for the tags "img align=(c,r,l)", in addition to the normal "img". This is useful for quickly floating an image for a news story.
I have "a:link" set to show a line underneath any linked objects (text and images), which turns dotted upon "a:hover".
When I post a topic with an image that is linked using "img align=", i.e.:
[url=http://reviewstash.com/files/vizopropellerdualfancard/packageback.jpg][img]http://reviewstash.com/files/vizopropellerdualfancard/packagebackS.jpg[/img][/url]The post shows the image as having the specified underline and hover.
However, if I post a topic using the standard "img" linked, there is no underline, and no hover.
I'm not sure why this is, but if you guys have any insight I'd greatly appreciate it - here is my parser.php:
If it helps, removing the section about "img align="'s "$style"/spacing in parser.php results in the bbcode still working (yet not floating the image), and the underline working on that bbcode.