Replies

May 22, 2020 5 years ago
kimokawaii
the undead tour guide
User Avatar
Spider Spawn

I'm having some trouble with

Shadowling's profile. Things in the sidebar just don't get centered. I've tried everything I could think of and nothing works, which makes me think maybe the bits of code I've tried to use aren't compatible with Subeta. Is there a fix for this?

Also, how does it display for you, other than the non-centered text?

Thank you :)

UFA: Presences and Karakara // image

May 24, 2020 5 years ago
Frenchi
is hopelessly romantic
User Avatar
Vivisect

err yeah you've got a big combination of absolute postioning and relative positioning and margins and it takes precise usage of those things to get them to play nicely together.

i'd recommend using absolute positioning for (minion) and (name, image, info). then i'd use relative positioning to scooch stuff around within

and while it's okay to use percentages for the overall section, as that will affect the entire profile together, i'd advise against percentage-based margins and sizing on the individual sections within the profile, as it causes things to move around in unexpected ways when the browser window changes size.

May 24, 2020 5 years ago
kimokawaii
the undead tour guide
User Avatar
Spider Spawn

Thanks! I'll do that. I'm really bad at CSS positioning so it figures that would be the issue.

About the percentages, idk, I thought it was a good idea to use percentages to make it fit the browser window without getting too distorted? Or do you mean just not using margins and sizing on those individual sections?

UFA: Presences and Karakara // image

May 24, 2020 5 years ago
Frenchi
is hopelessly romantic
User Avatar
Vivisect

for your purposes, i'd recommend only using % to define the width of your main text & treasure section (though if you want them the same width i think you'll need to adjust the padding on one of them, and they look a bit off-center from each other). other than that, i'd avoid it for the other stuff.

you could also add a min-width of 200px to columns 1 and 2 so they don't shrink down when the window gets too narrow.

May 24, 2020 5 years ago
kimokawaii
the undead tour guide
User Avatar
Spider Spawn

I'll try that, thanks!

UFA: Presences and Karakara // image

Please log in to reply to this topic.