Linked images in sigs turn the whole line into a link

Destructobot

Crave the Hammer
OP
Member
Joined
Oct 15, 2006
Messages
5,002
Trophies
0
Age
45
Location
Portland, OR
Website
Visit site
XP
321
Country
United States
When people have images in their sigs that have hyperlinks, the entire horizontal line becomes a link, even the area outside of the image. This is really annoying when I accidentally click a link when I'm just trying to focus the window.

I'll try and turn my sig into an example and then update this post.


Edit: I figured it out. See post 8 in this thread.

Edit 2: It turns out that this happens for any linked images that have [ left ], [ right ] or [ center ] tags inside the [ url ] tags. It's not limited to signatures, that's just where you most commonly see justified images.

Edit 3: Okay, I've narrowed it down to the actual bug. When [ left ], [ right ] or [ center ] justified elements are inside [ url ] tags, the entire horizontal space becomes a link. It doesn't matter if it's text or images, and it doesn't have anything to do with being in a signature.
 

Minox

Thanks for the fish
Former Staff
Joined
Aug 27, 2007
Messages
6,998
Trophies
2
XP
6,161
Country
Japan
Weird, I don't notice what you're describing at all. I've clicked several times horizontally from your sig, but only when clicking your sig I reach what you link to.
 

Law

rip ninjacat that zarcon made me
Member
Joined
Aug 14, 2007
Messages
4,128
Trophies
0
Age
32
Location
‭jerkland
Website
www.twitch.tv
XP
334
Country
I think I only remember having that issue with one members signature (I think it was Mei-o?).

Nothing weird seems to be happening to yours from my point of view.
 

Destructobot

Crave the Hammer
OP
Member
Joined
Oct 15, 2006
Messages
5,002
Trophies
0
Age
45
Location
Portland, OR
Website
Visit site
XP
321
Country
United States
Okay, I figured it out. This happens when the sig is justified (left, right or center), and the justification tags are inside the url tags.

This will produce the bug:
Code:
[url="http://gbatemp.net/"][left][img]http://i36.tinypic.com/2d7iufp.jpg[/img][/left][/url]

This won't:
Code:
[left][url="http://gbatemp.net/"][img]http://i36.tinypic.com/2d7iufp.jpg[/img][/url][/left]
 

Destructobot

Crave the Hammer
OP
Member
Joined
Oct 15, 2006
Messages
5,002
Trophies
0
Age
45
Location
Portland, OR
Website
Visit site
XP
321
Country
United States
I wonder if this is actually limited to images in sigs?

2d7iufp.jpg



Edit: I guess not.
 

Costello

Headmaster
Administrator
Joined
Oct 24, 2002
Messages
14,209
Trophies
4
XP
19,864
It's a completely normal behavior...
Doesn't it make sense to you when you look at the code?

CODE

sig


knowing that divs have a default width of 100%...
 

Destructobot

Crave the Hammer
OP
Member
Joined
Oct 15, 2006
Messages
5,002
Trophies
0
Age
45
Location
Portland, OR
Website
Visit site
XP
321
Country
United States
Well when you put it that way, I still think it's annoying. I take it there's no easy way to make the link apply to the elements inside the div rather than the div itself? Then again, one programmer making their code do something incorrectly to compensate for someone else writing bad code might violate a Microsoft patent.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    Nighty night
  • BigOnYa @ BigOnYa:
    Yea is sad. His 2 movies were good. Informative about our food industry.
  • BigOnYa @ BigOnYa:
    This was one of the craziest movies I've seen about our food industry, lots of stuff I didn't know. A must see. https://youtu.be/OqzjC-ENrl8?si=GYxmdY5nShzGniVi
  • OctoAori20 @ OctoAori20:
    Oh, that dude?
  • OctoAori20 @ OctoAori20:
    I stopped believing or caring about that dude when I found out about some of the more questionable nonsense he did in his life.
  • BigOnYa @ BigOnYa:
    Like what? I didn't know or hear.
  • K3Nv2 @ K3Nv2:
    You mean like every famous person that ever existed
    +1
  • K3Nv2 @ K3Nv2:
    I get so tired of hearing oh I liked him until...
  • OctoAori20 @ OctoAori20:
    I just know dude was a chronic alcoholic and such.
  • BigOnYa @ BigOnYa:
    I've been to his chicken restaurant he started in his 2nd movie, Holy Chicken, was pretty good. It is only 15-20 miles from me in Ohio. It only lasted 1 yr or so then closed tho.
  • OctoAori20 @ OctoAori20:
    There are very few people I just have just an immense dislike of and he's one of those very few people, the only other example is Gene Simmons. My musician uncle on my mother's side of the family actually met Gene once during some event and said he was the most unpleasant person to be around.
  • K3Nv2 @ K3Nv2:
    I met myself once turns out that guy is a giant piece of shit that doesn't deserve any of my respect
  • BigOnYa @ BigOnYa:
    Damn alcoholics! (Sshhh- Opens another beer)
  • OctoAori20 @ OctoAori20:
    Agreed, Ken
  • OctoAori20 @ OctoAori20:
    I can't say I've ever tried even a sip of beer tbh-
  • K3Nv2 @ K3Nv2:
    You met yourself also and is a giant piece of shit?
    +1
  • OctoAori20 @ OctoAori20:
    Then again, I don't think I'd really enjoy it //shrug
  • OctoAori20 @ OctoAori20:
    I'm sure it's an acquired taste :P
  • K3Nv2 @ K3Nv2:
    Poor lad can never enjoy the amazing taste of four loko
    +1
  • BigOnYa @ BigOnYa:
    Root beer is a gateway drink, don't ever try it either.
  • K3Nv2 @ K3Nv2:
    @BigOnYa, don't you love how smooth MD20 is
  • BigOnYa @ BigOnYa:
    Mad dog 20 20? Oh yea fixed the typo. I haven't seen that or had forever. Do they still make it?
  • K3Nv2 @ K3Nv2:
    I think it's why I'm alive
    +1
    K3Nv2 @ K3Nv2: I think it's why I'm alive +1