Replies

Sep 13, 2015 10 years ago
Nuke
is made of stardust
User Avatar
Geno

Hi, I'm an absolute beginner when it comes to coding pet profiles, but I wanted to do something more fancy with my pet Elecman. (Oh god, don't even look at him right now lol)

So what I wanted to do was have some hover stuff, for his description, treasure, and friends. No big deal, right? But I didn't just want to have the sections pop up - I want to have a background for the sections, in the form of an image! I sort of got this to work, but the problem was that nothing lined up properly. The image is such that the treasure items are supposed to appear sort of in the middle of them, with a certain height and width. But the way the hover is working is that it just does top-left alignment, and if I adjust the height or width at all, it hides parts of the image.

I'm wondering if it's at all possible to have a hover, OR an anchor link thing, that brings up the pet treasure, but it's aligned properly within the image, and not just top-left aligned.

I think all of that made sense and I hope I explained myself properly. If not please let me know. I appreciate any and all help from super smart coding people! ^^;

previously Autobot
art by

Oct 10, 2015 10 years ago
Silverfish
is a survivor
User Avatar
Xingese

Hmmm, have you tried playing around with margin and padding of both entire treasure chest and individual treasure items to affect alignment? It sounds like that's what you are after.

Art by p-sebae ❤️
| | -Night Mode- Shengui Guo Custom CSS [v2.0]

Looking to adopt a December 31st, 1969 glitched date pet

Please log in to reply to this topic.