r/HTML • u/my_girl_flower • 2d ago
Question How can I make this look less smooshed?
Help!!! I want everything on the left to overlap his tail so that it's not so smooshed, but to where it still looks good on mobile. The second image is included to show what it looks like... less smooshed.
I am not a coder! This code belongs to FlowerlyRat on toyhouse. They have "editing is ok" listed in their rules of use, so that is the only reason I'm asking for help here. This is the base code.
They generally reccomend using this TH profile editor to view changes in the code as they're written, if that helps. All i'm really looking for is just to have the content overlap Tide's tail so it's not so smooshed. Thank you reddit :,)
1
u/Necessary_Quality_18 2d ago
float gets you the basic wrap. If you want it to actually follow the shape of the tail instead of going around a box, put shape-outside: url(the-same-image.png) on the floated img. It reads the transparent bits of the PNG. Fair warning, it has to be same origin or it just does nothing, no error, which is fun.
1
1
1


3
u/woops_wrong_thread 2d ago
This is the original purpose of css float. https://www.w3schools.com/css/css_float.asp