Post #1158419
2026-04-12 15:13 UTC
There is no CSS measurement for "the width of the content once the floats have influenced it", right? Ideally I need that width.
p img {
max- width: 100%-of-content-after-floats;
}
Replies (2)
-
@alvaromontoro@front-end.social 2026-04-12 15:17
@ppk by "100% of content after floats" do you want the image to occupy the remaining available width after other elements float around it? If that's it, it'd look like a work for flex more than float (but I may be missing context)
-
@css@front-end.social 2026-04-12 15:18
@ppk we may find a "specific" workaround to the "specific" structure you are working on.