[personal profile] psionichax0r posting in [community profile] style_system
Trying to code the contextual pop-up on a journal of mine, but having a hard time finding what's formatting it in the stylesheet.



So the main problem I'm having is making the border actually fit the icon image. But if I could also find a way to decrease the space between "this is you" and the links that would be cool too. Really any info you have on coding these would be appreciated.

Date: 2017-05-09 06:10 pm (UTC)
From: [personal profile] zaluzianskya
It looks like you're applying the border to the .userpic element. Try applying it to .userpic img instead.

Date: 2017-05-09 06:22 pm (UTC)
syntheid: [Elementary] Watson drinking tea looking contemplative (Default)
From: [personal profile] syntheid
For what it's worth, this seems to be the reason it's doing that: https://stackoverflow.com/questions/6405009/mysterious-padding-margin-appears-after-image-in-strict-mode so you could also
vertical-align: top;
the image and it should also fix it.

Profile

Dreamwidth style system discussion

February 2026

S M T W T F S
1234567
89 1011121314
15161718192021
22232425262728

Style Credit

Expand Cut Tags

No cut tags
Page generated Feb. 17th, 2026 08:58 pm
Powered by Dreamwidth Studios