Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
relative - Kevin Powell - Community
KP-C
Kevin Powell - Community
•
2y ago
•
12 replies
R.I.P
relative
hi
when i add a div with relative position with purple background and got nothing else in it
then added 4 or 5 absoloutes in it and it was perfect
then i had to add a button outside of it and as u can see it is down there
i added this display
: inline
-block
; to relative div too so button goes beside it
so now i cant make the button come up not with margin atleast but when I add letter to the relative div it automatically fixes
=
=
=
>
<div>
sth(the letter)
<absolouts>
</div>
<div>
sth(the letter)
<absolouts>
</div>
how to fix it and why this happens
?
(if u dont undrestand do tell where u dont get it
(dont tell all of it
)
:
/
)
Kevin Powell - Community
Join
A friendly place for developers to meet other devs, ask questions, get help, and just have a good time 🙂.
36,263
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
position: relative;
KP-C
Kevin Powell - Community / front-end
3y ago
relative div and button
KP-C
Kevin Powell - Community / front-end
2y ago
Relative color from currentcolor
KP-C
Kevin Powell - Community / front-end
2y ago