Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
Admin (1 edit) (+1)

margin doesn’t work how you think it does, it adds an invisible gap outside the containing box of the element. It does not stick an element to a side. You can use margin-left: auto to create a margin on the that automatically fills the remaining space though, then apply margin right to offset it from the right.

https://developer.mozilla.org/en-US/docs/Web/CSS/margin

Hope that helps

Hey Leafo uhh..

jordan - itch.io He's being toxic uhh how do i stop him

That does help! Your solution is exactly what I needed. I never considered using auto in conjunction with a set value.

Thank you again for the incredibly quick insight!

Leafo Ethan is leaking my mod without my permission what do I do I gave him the files and he's leaking the mod just cuz I told him to shut up cuz he be saying to kiss someone.

VS MII by Ethan[Not Working On Vs Ethan] (itch.io)

Hey Leafo one of your itch.io members is being racist to me I have proof this is just messed up. Please ban him.