[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

June 2025

S M T W T F S
1234567
891011121314
15161718 1920 21
22232425262728
29 30     

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 2nd, 2025 12:20 pm
Powered by Dreamwidth Studios