Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
image not behaving as intended unless wrapped in a div - Kevin Powell - Community
KP-C
Kevin Powell - Community
•
2y ago
•
7 replies
snxxwyy
image not behaving as intended unless wrapped in a div
Hey
, why does this image not respect the fact it
's in a
flex
flex
container and cause the text to overflow unless it
's wrapped in a
div
div
? This is something i haven
't understood for a while haha
, thanks in advance
.
https://codepen.io/deerCabin/pen/Baeewbg
CodePen
R
image-query
.
.
.
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
Put an image in div
KP-C
Kevin Powell - Community / front-end
3y ago
image overriding a div's bc image
KP-C
Kevin Powell - Community / front-end
3y ago
issues with image not fitting into a div
KP-C
Kevin Powell - Community / front-end
4y ago
Absolutely positioned element not behaving as expected
KP-C
Kevin Powell - Community / front-end
3y ago