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,863
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
  • RedColoredStars @ RedColoredStars:
    But that topic makes me sad. :(
  • RedColoredStars @ RedColoredStars:
    Abusive narcissistic ex shame guilted me into selling them becasue my gaming and interests were childish like a little kid collecting toys. :(
    +1
  • RedColoredStars @ RedColoredStars:
    I had soooooooooooo many of them. All still sealed.
    +1
  • RedColoredStars @ RedColoredStars:
    I eventually had to contact a domestic abuse advocate to help me get out of the apartment I was in a lease with her. And filed a restraining order on her cuz she kept harassing me after i left her.
    +1
  • Xdqwerty @ Xdqwerty:
    I didnt bring my Charger and nobody here has one compatible with my phone
  • RedColoredStars @ RedColoredStars:
    either you have usb C and no one else does, or everone else has usb c except you. haha
    +1
  • Xdqwerty @ Xdqwerty:
    @RedColoredStars, i don't have usb c
  • RedColoredStars @ RedColoredStars:
    That happened to me for like a year. lol. I was the only one of all my friends and family to still have an old phone.
  • Xdqwerty @ Xdqwerty:
    @RedColoredStars, my phone is from around 2019
  • RedColoredStars @ RedColoredStars:
    Mine was from 2017. lolol. I just got this new one like 6 months ago. Not even new, second hand cheapo $40 phone. But it has usb c. lol
  • RedColoredStars @ RedColoredStars:
    I cant justify $1k+ on a nice ass phone. I can spend that on a 75" tv screen. Why a 6" screen device cost me the same? lol
    +2
  • BigOnYa @ BigOnYa:
    I had a iPhone 5 for like 6 years, till last year, and had to get new phone, when phone companies stop using the cdna networks, which the iphone5 used.
  • K3Nv2 @ K3Nv2:
    A phone can do more than a TV
    +2
  • BigOnYa @ BigOnYa:
    These smart TVs are getting close tho. Gonna be like "back to future" TVs before long.
    +1
  • K3Nv2 @ K3Nv2:
    Nah a phones going to always be more powerful than a TV if the TVs $2grand maybe but why when I can put a smaller device in my pocket that does basically everything a TV already does
    +1
  • K3Nv2 @ K3Nv2:
    I can justify a decent $800 smartphone that'll last 3 years when I could get a 65" TV for $400 and buy a decent micro computer for $100 more
  • K3Nv2 @ K3Nv2:
    Tbf there are decent $400 smartphones in today's market that make top end spec phones unjust it's just what you want
  • Xdqwerty @ Xdqwerty:
    Found a Charger that works with my phone
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah Ken I have 3 Samsung Phones now and honestly all 3 feel about the same
  • Psionic Roshambo @ Psionic Roshambo:
    A35 a S23 FE S24 Ultra lol
  • Psionic Roshambo @ Psionic Roshambo:
    Camera is about the only thing that legit separates them, unless you play games on your phone....
  • K3Nv2 @ K3Nv2:
    I honestly just download movies on my phone put them on my card reader then on my tv so much better than wireless transfer bs
  • K3Nv2 @ K3Nv2:
    Glad I bought a card reader type c and usb A makes life easy
  • Xdqwerty @ Xdqwerty:
    Yawn
    Xdqwerty @ Xdqwerty: Yawn